Skip to content

Instantly share code, notes, and snippets.

@vlinevych
vlinevych / consul-kv-tool.py
Last active October 7, 2024 13:04
Import/export tool for consul key-value storage
#!/usr/bin/env python3
"""
Import/Export tool for Consul Key-Value storage.
If your server has ACL enabled,
be sure to export CONSUL_HTTP_TOKEN env variable or use -t to provide a token
Usage:
Export KV storage decoding values