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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | defba19e8d0daad16e04a413252e140bb7d8cb77517249f3f11abb993a9c1f46 |
|
MD5 | 43df766486d2d6ca8c377febfa0adf84 |
|
BLAKE2b-256 | efeb579669e8179faedbd43af21d119bb801d12b04991aa6f6dccd5494b1caa3 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28d1a6893f0ec76e253d28f7564c1a2611d487d0d7add8eaa4547dff9d632b97 |
|
MD5 | 7cb31990a33170e55ea7021c17b2dc8a |
|
BLAKE2b-256 | cc64090bbe307085ebbfbe07308c5a2bf61a3e8609e292efe8ec17352076a576 |