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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 636a7da1fe4a988260c2fb4a19506cf897d7e7c1a7443a0e2978b5815a226960 |
|
MD5 | 1046c085cdb451eed80c22bdf47f3c6e |
|
BLAKE2b-256 | e265fb016f0efb86ac116d958229b9960b7da94ca021c6a08ce422e27d17a402 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb4a3579338ce93b6b5f0a6e6ec0d262d550086bb66d9a9646bef8568fb4862a |
|
MD5 | 63e09ee0bd2a4a58be4828e2c91b8c28 |
|
BLAKE2b-256 | 84e02551d10435c1e689cc39f45f03982fbb95868e82b684417e8ce682c067f9 |