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.11.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d03d9f2e09305f0b168cb18c5d69cdc58f2e72d8327231fa7551bacdba46315a |
|
MD5 | f3b29e70fc2285f4fc8a1fe0148c2813 |
|
BLAKE2b-256 | 11487390ceb563de3b0be93202cf12df5e8e8fcdb88a8793acd095b0379a627b |
Close
Hashes for cloudcomponents.cdk_secret_key-1.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 999e34d732f71b9a1adda44d3407b786e68372bddf252ce758ed80107f821b3c |
|
MD5 | bb68e939ddd25a04bebc44a8f68f95e7 |
|
BLAKE2b-256 | 14f72c84c49f26c2a83c69c642784f120849167747af92ae21be4a4fa2bfa792 |