A module to recursively retrieve values from HashiCorp Vault KV store and apply functions on them.
Project description
vault-explorer
A module to recursively retrieve values from HashiCorp Vault KV store and apply functions on them.
Usage
def main():
vault_url = os.getenv("VAULT_ADDR")
vault_token = os.getenv("VAULT_TOKEN")
client = hvac.Client(
url=vault_url,
token=vault_token
)
client.secrets.kv.v2.configure(
mount_point = "secrets"
)
explorer = VaultExplorer(client, flattenJson=True)
explorer.apply("/", lambda path, secret: print(path, str(secret)))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vault_explorer-0.1.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for vault_explorer-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7534b6af365d13ea1f970d160f7e51856e0a6bcf0a44a9575dba2d283cf19d0 |
|
MD5 | 4748a599c6c6740c8ad13e4587666e9f |
|
BLAKE2b-256 | 98a8a9f05e67c07aa7e7c35cdde480c36496bb9da6f5807927e981553f49aef6 |