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.17.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f76df99f5d3d26ac0cf98a4d98c37a32b5e76569c43176b26767743c7894ebab |
|
MD5 | f80a77b1f4e7c85162943f29168ee3bb |
|
BLAKE2b-256 | eba9726ed4369416a0c3db6020e2e881be7b3e289b1dcd103320c2f54bda67a1 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.17.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65092a5e00a5c32a9a5c2815f7160b2ff7fa98c5afb91832bd17a96a0ea60085 |
|
MD5 | 01f7c37018a7b7302b2c3c15f38e8b73 |
|
BLAKE2b-256 | 21eedde10e6b5a94d3c7f718a6362c7e39cc688e6e35fa98ca9a6829495fda7d |