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.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ed9c84282dba68e1360fba4358761c79b5c441515c2ff05e71b2cc8f794584 |
|
MD5 | 45dee6655f60fa2338f28cc757ec0bfa |
|
BLAKE2b-256 | 9d1589063c1b3b654e7cf6bcfa0d92a95772363b68ef89ff98942aa2e418e33d |
Close
Hashes for cloudcomponents.cdk_secret_key-1.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ae8ec036ce2e522c4d37852a79f2aaa3a79eb26da65bd3172af16752834b991 |
|
MD5 | 2505f2b446fd30b9ba86120c640e885c |
|
BLAKE2b-256 | ac54fd954016d30e4b1498d86286490d23a5889a852db3568ce79d976ab109dc |