Skip to content

Instantly share code, notes, and snippets.

View xp-vit's full-sized avatar
🏠
Working from home

Viktar Patotski xp-vit

🏠
Working from home
View GitHub Profile
@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