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 from non-compiling source. May contain errors.
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.19.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7de7255f277ba3371f7626f494cd67f3b1abd0e74856cb73ba0bf3dbd751135 |
|
MD5 | 54cc7089b3bd1cd8be299bd043bf33d0 |
|
BLAKE2b-256 | 68384af5c7b71590cec4f1a5ce4de72471be8100db2af1ad212fa0280fcc3c0c |
Close
Hashes for cloudcomponents.cdk_secret_key-1.19.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95cdf74ab55dc79ad19434f6985bfe5ed0b8ed203d9ccf1ef5a6fba9d68fbb0 |
|
MD5 | 60c50c9c322aafc0c6adf744fc4d5f0c |
|
BLAKE2b-256 | a502f48349660eea16f3f6c46f13eef7db79f3a26d53fe8f64213815c85efa7a |