Skip to main content

EnvCrypted

EnvCrypted is a high-performance Python 3.12+ package that encrypts all environment variables using age encryption with ephemeral keys generated at runtime. It seamlessly integrates by monkey-patching os.getenv to return decrypted values, while ensuring that all other access methods yield encrypted data. Designed for efficiency, EnvCrypted operates with near-zero latency, making it ideal for performance-critical applications.

The package leverages Pyrage, the Python bindings for the Rust port of age, to provide robust encryption capabilities. Additionally, EnvCrypted offers optional integration with Pydantic Settings and 1Password through the latest onepassword-sdk package, enhancing its versatility in secure environments by leveraging 1Password Service Accounts as a Pydantic Settings Source.

Note: This package is highly experimental!

License

This package is licensed under the Apache 2.0 license.

EnvCrypted is not affiliated with 1Password, Pydantic, or any other projects, services, or entities referenced or depended upon by this package.

Metadata

Release files for EnvCrypted 0.0.2

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

Source distribution (sdist)

Source distribution for EnvCrypted 0.0.2
File Size Uploaded Provenance Actions
envcrypted-0.0.2.tar.gz 21.6 kB Without provenance Details for envcrypted-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 28.4 kB

Release files / envcrypted-0.0.2.tar.gz

Download URL envcrypted-0.0.2.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
69b6b14733d3fa219f64a5be5d07c4c113a3ef0596b8354db1b869cb5913d3fb
BLAKE2b-256 checksum
How to use checksums
1679f15ab1d58dc603cc7141593a165b03584c51524f402b6224857a4253f546
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / envcrypted-0.0.2-py3-none-any.whl

Download URL envcrypted-0.0.2-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78d8440a58e494c0ba180149ad169123e12354f83fb0a4a8d6f5a52cce805830
BLAKE2b-256 checksum
How to use checksums
9706c40f596949837750fa746f3dd7b9b1c9c3b515bdb257111da50eb8ce9889
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for EnvCrypted 0.0.2

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

0.0.2 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