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.16.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4e6093d1d5345b34032488f82e5f1dceabe36d12bd9c23ccc16e7c82831f707 |
|
MD5 | b5cc2a2cfa8dbaa97d054812150a91bf |
|
BLAKE2b-256 | 9d48330fe5396ce9b583f740338a41a9bf942b49b5547833b48b3f37621a99b3 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.16.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a71e5524a2f68cb672583f0de62457acbe7bbd9481d8432dc723c6074857eb07 |
|
MD5 | 162d54ec2cdfa7a46df11b73aa16c721 |
|
BLAKE2b-256 | d897946046616ffa644e6dc4d9a79c1881d7d8855a75ede699f4851d2885eb17 |