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
File details
Details for the file silenceofthelambs-0.0.2.tar.gz
.
File metadata
- Download URL: silenceofthelambs-0.0.2.tar.gz
- Upload date:
- Size: 7.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 019c8b07957f95b58d5417583b42219cfdfa82ad42aa7a07da024b83d94c1ef2 |
|
MD5 | 8703b09e2d4a18c7f2e82313edd85e21 |
|
BLAKE2b-256 | 1813c45f1723a64d9b26c283b60102f7e5a01242eff251671224cfbcad41363f |
File details
Details for the file silenceofthelambs-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: silenceofthelambs-0.0.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 039a9a2860d9d3b2aa308aaac2211101512fd0f47de4e09a103bac95c29f2c20 |
|
MD5 | 23cebf7d1ae2253a2d524aad8fc9721f |
|
BLAKE2b-256 | 60b7c255dabac25cdff98ec78ec3f8236c05844a3926e33cb6e50280b08e84be |