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.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60b946d25b2141d0b4efcd048e4bc2769179bdacce0db8473cf5c01b503f4905 |
|
MD5 | 43fcdecf40152a1ebf9ce5e1f6a76092 |
|
BLAKE2b-256 | 95c13a4bdb35b8a1c5ef20e2773c237820c1517a829a0d74804216ba4320c532 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8778b24074882b05668a4f19b5f1c0ca27297e2dd9e318a1c4a5025ccc89f4ee |
|
MD5 | 3736b65e76abe6bf5c888cae929cf971 |
|
BLAKE2b-256 | 9c15e30958a04d3d3efad10e2daabb2753f1fca9d8e3036742ea43b0b159e27b |