Skip to main content

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)))

Metadata

Release files for vault-explorer 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vault-explorer 0.1.1
File Size Uploaded
vault_explorer-0.1.1.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vault-explorer 0.1.1
File Interpreter ABI Platform
vault_explorer-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / vault_explorer-0.1.1.tar.gz

Download URL vault_explorer-0.1.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
be407912adc6e592793ac5fb88ea4cd27aa69504e602570aabc3e633632c2fc1
BLAKE2b-256 checksum
How to use checksums
9c25a0a1db1aec77b17f50c6be28c0dad23d54383b123b36b299e1869c47a13d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / vault_explorer-0.1.1-py3-none-any.whl

Download URL vault_explorer-0.1.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7534b6af365d13ea1f970d160f7e51856e0a6bcf0a44a9575dba2d283cf19d0
BLAKE2b-256 checksum
How to use checksums
98a8a9f05e67c07aa7e7c35cdde480c36496bb9da6f5807927e981553f49aef6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page