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.15.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dd5ccf01d58323c9e4deb056f3e19d3a0334956240aede7e91090113460a017 |
|
MD5 | 19975627b2ce7c9f2cf3a80f58b3db06 |
|
BLAKE2b-256 | 950b49f044fe8f9b9bb8c191c31dbe9540b4cb663fef29034e5cb5365f564adc |
Close
Hashes for cloudcomponents.cdk_secret_key-1.15.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0589ebfa00479da129431e66d98642a478d3aaab4f9c933ac5c4680b2880afbb |
|
MD5 | b50c81d74efa8eb6bc32ee446432209e |
|
BLAKE2b-256 | f8ac3886da1c8aac84920b83d5656be68851e8333b0a68a38f74bc1e29ff0d9d |