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.12.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67091cbe054a630ab83e598652eecf6121684fefa5b49ff7d9c9bc011403c095 |
|
MD5 | 2b447deecc969b1850396b071fd5921f |
|
BLAKE2b-256 | ee5e75904454b4a20185dd19c2842978db0ded3b1180f1516dd5e014ff767c0d |
Close
Hashes for cloudcomponents.cdk_secret_key-1.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 773cfaf54587491fb2249e2a67e4787ef5bc8885f727484e8c6bc1a8bcc51bfa |
|
MD5 | 0dc29270ff1def126d17f73df6b7b772 |
|
BLAKE2b-256 | 7139f45048cb3e08cfb0c2c31f0b1d95583e945e674e309dd7efd8f8c525ba50 |