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.10.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef132d8aeb181602ba7a21672bfbabf0d88af241a2eca0bcdd774dbfcf0d0c1f |
|
MD5 | 64315d462fb6ec10a6c4323160aa91c8 |
|
BLAKE2b-256 | a6fc4158b3a4c544f13707b9d096a1cc7c392b7be639a4a638b0a8e4807f5e2e |
Close
Hashes for cloudcomponents.cdk_secret_key-1.10.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a8a49e3446b46a185c37f284a7bcea72c8dbf7ea0448c265a21c4eb3b07679 |
|
MD5 | 347b058f41c45cc5b4bbb135148606d4 |
|
BLAKE2b-256 | 97882b137a8e8b23d3dce2cc9cdb517650c680ee238565e93b9d50fcc9339b42 |