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.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 066aac2e15820bca3a7bc86a0928c8cfc0219dab7271fff9e21cd83af44622ea |
|
MD5 | 69b0e24b45f722da25049199973fec47 |
|
BLAKE2b-256 | a397e79d1ff57b238c73122588f72f9230db25bb1997994265d206b809169085 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9aa5adf97e33e652b97258f84b5253ae891856f5dff65af10e58344b30d7cf6 |
|
MD5 | 84dd9099dde428b95bfed06612c40096 |
|
BLAKE2b-256 | 113f6ebfc67d2a5b4d8a99d4eefe7d68922f402055f4575439309aed6c88aeb9 |