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.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54e5594ad3090afc544c90ca0e122bf20a8397063abc8fee907cf229f06c68f8 |
|
MD5 | ea26f2f1010711f6147e8baa53b4f802 |
|
BLAKE2b-256 | e02c2d4bdd4561dd6a864542dd60550d995c2d7864e03033b7b61dfb33232ae4 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2f99d76dacf4ffce368c05e1e3984989705bf7998992bd3283d4d8cf2711a09 |
|
MD5 | 62e3c89749b5447002c10b990b578f84 |
|
BLAKE2b-256 | f133ff18d0d1bae0b82c745551b0bb0de92b1109ee5a55d82d0664d196fe9791 |