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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d69378d6b59204f085cf67e742b564a1dc11386e940966bf01e03edcf1641334 |
|
MD5 | 2b50e738acba71ed2e6d404d2fe62111 |
|
BLAKE2b-256 | 25e6a2971f57eb18d3314007dbf66d990c2583a3af5fbb958a2689e3159f924b |
Close
Hashes for cloudcomponents.cdk_secret_key-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8210422f4137b943159b75ccf2ab3f66d9bebd054c9f283407bcb274968132ea |
|
MD5 | a25dde7e23ce20bc74bfc23031f77fe7 |
|
BLAKE2b-256 | 1ed4c90adcc779274808a3e0ba607492473437169de6c5aa80748424e2a56418 |