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:
-
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)
-
Imported and automatically activated
silenceofthelambs
also supports auto-activation, using a default boto3 KMS client.import silenceofthelambs.auto
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for silenceofthelambs-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 039a9a2860d9d3b2aa308aaac2211101512fd0f47de4e09a103bac95c29f2c20 |
|
MD5 | 23cebf7d1ae2253a2d524aad8fc9721f |
|
BLAKE2b-256 | 60b7c255dabac25cdff98ec78ec3f8236c05844a3926e33cb6e50280b08e84be |