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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vault_explorer-0.1.1.tar.gz.
File metadata
- Download URL: vault_explorer-0.1.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be407912adc6e592793ac5fb88ea4cd27aa69504e602570aabc3e633632c2fc1
|
|
| MD5 |
5c6a42183e4fdcb5450f78bc44b718e1
|
|
| BLAKE2b-256 |
9c25a0a1db1aec77b17f50c6be28c0dad23d54383b123b36b299e1869c47a13d
|
File details
Details for the file vault_explorer-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vault_explorer-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7534b6af365d13ea1f970d160f7e51856e0a6bcf0a44a9575dba2d283cf19d0
|
|
| MD5 |
4748a599c6c6740c8ad13e4587666e9f
|
|
| BLAKE2b-256 |
98a8a9f05e67c07aa7e7c35cdde480c36496bb9da6f5807927e981553f49aef6
|