Skip to main content

SLD Secrets Getter

Very thin wrapper for the AWS Secrets Manager library for getting secrets in a standard way.

  • Free software: MIT license

Usage

Pre-requisites

  • AWS credentials
    • This package assumes the AWS cli environment variables have been configured for authentication. Alternatively, you can provide the values for those variables to the constructor.

Example

Install the package:

pip install sld.secrets-getter

Running with AWS cli environment variables set:

from secrets_getter import SecretsManagerService

secrets_service = SecretsManagerService()
secrets = secrets_service.get_secrets("NAME_OF_AWS_SECRETS_MANAGER_SECRETS_SET")

A dict with the key value pairs from the Secrets set is returned.

Providing the AWS cli credentials to the constructor:

from secrets_getter import SecretsManagerService

region = "us-west-2"
key_id = "AWS_ACCESS_KEY_ID"
secret_access_key = "SECRET_ACCESS_KEY"

secrets_service = SecretsManagerService(region=region, access_key_id=key_id, secret_access_key=secret_access_key)
secrets = secrets_service.get_secrets("NAME_OF_AWS_SECRETS_MANAGER_SECRETS_SET")

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for sld.secrets-getter 0.2.5

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

Source distribution (sdist)

Source distribution for sld.secrets-getter 0.2.5
File Size Uploaded Provenance Actions
sld.secrets_getter-0.2.5.tar.gz 6.8 kB Without provenance Details for sld.secrets_getter-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sld.secrets-getter 0.2.5
File Interpreter ABI Platform Actions
sld.secrets_getter-0.2.5-py2.py3-none-any.whl Python 3, Python 2 none any Details for sld.secrets_getter-0.2.5-py2.py3-none-any.whl

Total release size: 12.2 kB

Release files / sld.secrets_getter-0.2.5.tar.gz

Download URL sld.secrets_getter-0.2.5.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
265a4f99e8eb06b8d7d8497989ba464226465c95de115a467f2d9655c816d7e4
BLAKE2b-256 checksum
How to use checksums
8d5cdfc8f338813a5baeeeb1d50d26eff24f031284f43981062c5d9b1722e9c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.6

Release files / sld.secrets_getter-0.2.5-py2.py3-none-any.whl

Download URL sld.secrets_getter-0.2.5-py2.py3-none-any.whl
Size 5.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
db7a5d616e82deb4eac41301f1583ff2efd4f9709b1d41460a0e2c58a57b66e6
BLAKE2b-256 checksum
How to use checksums
b9596c58443c2c3e851283adb45b122658c5800451fb4687ab105ec87b49f503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.6

Security for sld.secrets-getter 0.2.5

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.2.5 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