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.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for vault_explorer-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b4863ffeedf277eba684f1cc107d04916e8d22aa56e692ea0efee87d3216ed |
|
MD5 | 9e46cbaac4bab63f0ac096e0e6064550 |
|
BLAKE2b-256 | 80d69142030a309013f6810c279240e57626aea5ead86d059a2073350005d70f |