Provide secret keys to lambdas
Project description
@cloudcomponents/cdk-secret-key
Provide secret keys to lambdas
Install
TypeScript/JavaScript:
npm i @cloudcomponents/cdk-secret-key
Python:
pip install cloudcomponents.cdk-secret-key
How to use
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from cloudcomponents.cdk_secret_key import SecretKey
secret_key = SecretKey.from_plain_text(process.env.SECRET_KEY)
secret_key_string = secret_key.serialize()
See cloudcomponents/lambda-utils-nodejs for the counterpart in lambda functions
API Reference
See API.md.
Example
See more complete examples.
License
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 cloudcomponents.cdk-secret-key-1.12.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec3072af378888aadff525eb4e32dcca5ffb59bd247abf4c0c9cc25d3a3921f |
|
MD5 | bfadad78a9c47f2450a0c182d2802ab5 |
|
BLAKE2b-256 | 01e6dec1758ccc037eb60e412f96701a5de936a573debfbce9964e2e3595f708 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.12.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ab91c5a1a5f89c6a932034a270ac4b1a443903b9b01e4b679a52b0270f661a5 |
|
MD5 | fd8bb1fff06505e5aae78ec8fdf41c0f |
|
BLAKE2b-256 | a1a1b58f5f64bd04547f08f59ce9bbb007824b4f9e12106b76237ef2b4212350 |