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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12f80853fc17398940a783496132504cdfd41e723c7bd7b16c43b681d5cb4102 |
|
MD5 | 80235df29bfb091a9d291b7d756196aa |
|
BLAKE2b-256 | f7bca01f758b348493194144be21c57f35336e13af8b1e577b9c2fe21ba62ee7 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91f0e572bf8deb95fd88ebe56e573d182fe0245c3b7838c7c87768f7d551abbf |
|
MD5 | 2412214e77fab7307e771f90854b0fc6 |
|
BLAKE2b-256 | f8b4213be0597c450e7d5158ff15278c013368545e8036b380b46f3e6405f6ca |