Skip to main content

AWS Secrets

This library allows you to use credentials stored in AWS Secrets Manager within your code. It will lazily resolve secret values when they are evaluated, or resolve all secrets when AWSCredential.resolve_secrets() is called.

Usage

from aws_secrets import AWSCredential
db = AWSCredential('path/to/key')

# credential is resolved here
print(db['username'])

secret_one = AWSCredential('path/to/key_one')
secret_two = AWSCredential('path/to/key_one')

# both credentials are resolved here
AWSCredential.resolve_secrets()
print(secret_one)
print(secret_two)

Metadata

Release files for aws-secrets 0.1.10

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

Source distribution (sdist)

Source distribution for aws-secrets 0.1.10
File Size Uploaded Provenance
aws_secrets-0.1.10.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-secrets 0.1.10
File Interpreter ABI Platform
aws_secrets-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / aws_secrets-0.1.10.tar.gz

Download URL aws_secrets-0.1.10.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6cf6ebf44f250e5e4a193adacd5eb027732009898bb40a6374b1bf00e44ae669
BLAKE2b-256 checksum
How to use checksums
f4cb2dc3dff451631c4d8e631a2240d591a4ce21eddc9fedde0375dd12af7d58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / aws_secrets-0.1.10-py3-none-any.whl

Download URL aws_secrets-0.1.10-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84a92b3c3fbb831d3493eb502edb529c0ea280e09b2e9163b3aff5a6711504b6
BLAKE2b-256 checksum
How to use checksums
669047868338472f89c5c70cbdd1af9bd607d64ead388f78764d187c31b15bff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for aws-secrets 0.1.10

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.

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