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.13.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc4b9f8c4fd5ea573e604c72910ce0cea1206b5702ca202b9b8f53dadecb606d |
|
MD5 | 4b83b58d69e1e082813df45b66ee8181 |
|
BLAKE2b-256 | 491ab3911bc53679c2a50e9caa4810f94bc994b1ca2c3490f20df9ebcbf5de38 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.13.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f50b56a49007ba9345f87ca2bfa67674c303df052e5cf8a3b2e2b69c09d7df1 |
|
MD5 | b75c0baa84ada3fb17c6084f189127f9 |
|
BLAKE2b-256 | 62b3d2768503e94edc3993cf7de30bc0894b0d075838e4dcdcd1f52fa7cb03eb |