Skip to main content

envvault (Python SDK)

Official Python SDK for EnvVault — centralized secrets management.

Installation

pip install envvault

Requires Python >= 3.10.

Quick Start

from envvault import EnvVaultClient

client = EnvVaultClient(
    api_url="https://api.envvault.example.com",
    token="your-token",
)

# Or rely on env vars: ENVVAULT_API_URL, ENVVAULT_TOKEN
# Or config file: ~/.envv/config.json

value = client.get_secret("DATABASE_URL")
secrets = client.list_secrets()
client.set_secret("API_KEY", "sk-...")
client.delete_secret("OLD_KEY")

Configuration Priority

Priority Source
1 (highest) Constructor args (api_url, token)
2 Environment variables (ENVVAULT_API_URL, ENVVAULT_TOKEN)
3 (lowest) Config file (~/.envv/config.json)

Error Handling

from envvault import EnvVaultClient, AuthenticationError, NotFoundError

client = EnvVaultClient(api_url="...", token="...")

try:
    value = client.get_secret("MY_KEY")
except AuthenticationError:
    print("Invalid token")
except NotFoundError:
    print("Secret not found")

License

MIT

Metadata

Release files for envv 1.1.0

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

Source distribution (sdist)

Source distribution for envv 1.1.0
File Size Uploaded Provenance Actions
envv-1.1.0.tar.gz 5.4 kB Without provenance Details for envv-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for envv 1.1.0
File Interpreter ABI Platform Actions
envv-1.1.0-py3-none-any.whl Python 3 none any Details for envv-1.1.0-py3-none-any.whl

Total release size: 11.0 kB

Release files / envv-1.1.0.tar.gz

Download URL envv-1.1.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
73818e09ca49832d591f0a322ae82bb60859d0185ca5731a3f54f970e2be720b
BLAKE2b-256 checksum
How to use checksums
304fee46baa4d2a5e6950b657cc02a49e220f64d09081285e2cf6106630e1bf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / envv-1.1.0-py3-none-any.whl

Download URL envv-1.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec6585e9447fde62a191b5d6bd1f4f9d9903407d50489991f4b6a39022701a63
BLAKE2b-256 checksum
How to use checksums
ee4342dd8d36609c3eac429d400cf6f94ac0bdc16054451cc05a935a534dba74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for envv 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

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