Skip to main content

Secret Manager Env Injector

  • Getting Started

  • Available Methods

  • Prerequisites

    • Python >= 3.6.x
    • pip
  • Installation

    $ pip install secret-manager-env-injector
    
  • Examples

    • Using the Injector decorator
    # import the decorator
    from SecretManagerEnvInjector import injector
    
    # it will inject the secret in the environment with the name provided or the secret name in finds in the arn 
    @inject('arn:aws:secretsmanager:us-xxxx-1:xxxxxxxxxxxx:secret:xxxxxxxx-xxxxxxx', region='us-east-1', custom_secret_name='my-secret')
    def test():
        print("hello world")
    test()
    
    

Available Methods

  • JSONParser
Method Params type default Description
inject arn str NA ARN of the secret that needs to be extarcted
inject region str 'us-east-1' select the AWS region
inject custom_secret_name str None select the name with which you want the secret to be stored

Note:

  • The package is under development and will be prone to more frequent updates

Metadata

Release files for secret-manager-env-injector 0.0.3

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

Source distribution (sdist)

Source distribution for secret-manager-env-injector 0.0.3
File Size Uploaded Provenance Actions
secret-manager-env-injector-0.0.3.tar.gz 3.3 kB Without provenance Details for secret-manager-env-injector-0.0.3.tar.gz

Release files / secret-manager-env-injector-0.0.3.tar.gz

Download URL secret-manager-env-injector-0.0.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
29da5199dd8cc9217ddca17491c0868341a0456eefea24980b975405a7d82f6f
BLAKE2b-256 checksum
How to use checksums
f6b6d691f76e9c29f7f6f18625e7c8a7c241993bdaa43be1a06a783e52174629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.6

Security for secret-manager-env-injector 0.0.3

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.

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