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.14.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b885ee100771d4568e3a8d376168a056d12bc8323618948aa076adb9a156912f |
|
MD5 | 47af9acd55f0b65d6ee75ddc7ffe5054 |
|
BLAKE2b-256 | 02fbdbc2aa986112a2f588d49c284a69dd0e4f5de05a69b1e6f8e3450e2f2d13 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.14.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8f006127f6d0d2b53082bccc3f0c19074261369a21b29d46a72955ee3943a2a |
|
MD5 | e5782dc4dfddae94c3b410c41ab57cbf |
|
BLAKE2b-256 | 39279faa2ceaaeeeac38cbcd4df83e134ec3671ce4147aa06089db7c8a45cc5d |