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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b570f4803a7a094a587dac6bc3f1bbc9d71d110c9e13409ea32cf9c61e61d7c |
|
MD5 | b5249d569d03b2e31077bda27b17406e |
|
BLAKE2b-256 | 5700bcc450bb5b322de0e9d65012baa95f2852704b9905fa00ab64e8a8e4a0d8 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac9ad1fe65e082913b12ddce7baec1d1dbc7534a82e00b79a7c4a8dde18661cb |
|
MD5 | acf777e5a3bf536d66dcec086bda0e57 |
|
BLAKE2b-256 | 4d01efdb0ec9307a9be22f33fedcb44f9c464cf6f15623cc1762d6ee62e9d776 |