Skip to main content

Decrypt shush-like KMS-encrypted strings stored in the environment

Project description

silenceofthelambs

A python module that decrypts shush-like KMS-encrypted strings stored in the environment, for use in places where using shush env as your entrypoint is not an option, e.g. AWS Lambda.

Usage

silenceofthelambs has two key usages:

  1. Imported and manually activated

    import silenceofthelambs
    
    # in your main() func, or wherever makes sense
    silenceofthelambs.decrypt()
    

    If you want to provide your own boto3 KMS client (e.g. if you need to use different credentials/region):

    import silenceofthelambs
    import boto3
    
    myclient = boto3.client("kms", .....)
    
    silenceofthelambs.decrypt(kms_client=myclient)
    
  2. Imported and automatically activated

    silenceofthelambs also supports auto-activation, using a default boto3 KMS client.

    import silenceofthelambs.auto
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

silenceofthelambs-0.0.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

silenceofthelambs-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file silenceofthelambs-0.0.1.tar.gz.

File metadata

  • Download URL: silenceofthelambs-0.0.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for silenceofthelambs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4111b2effd24bcbafae1ac90eec2af42d69a08faafc9461cbd6e0c6d5ace8fc9
MD5 2bcd839ff9421f22055d5e84ae157ff2
BLAKE2b-256 a52d9606012028228827598c0c3ea26bf1f0db76a5ee4e67340e83e6481f04c5

See more details on using hashes here.

File details

Details for the file silenceofthelambs-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: silenceofthelambs-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for silenceofthelambs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2468f5cfe3797a0e5fcc1ab3ae7c3ae0cf54bf8de4f705dd17bce0315405e0c5
MD5 7075c99cb21557a73298e31e1f2a27c6
BLAKE2b-256 d0a6cbdaf2b2b8df92cd7380a56b03773ba2aaa953a74bc559d11ff07f01fbab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page