Skip to content

Instantly share code, notes, and snippets.

@vlinevych
vlinevych / consul-kv-tool.py
Last active July 18, 2023 03:54
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