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.18.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4efe06a7f541a61865b272b4d72af6082092a83ec1f6b2a30b60dceb8aa784b8 |
|
MD5 | a57d3e7a6a46659471da4201f40522de |
|
BLAKE2b-256 | 65c3277c8674adfa5058af8eca9c48b38d7acaa2dcd7a6c0b2ae384113899378 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.18.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 908b1cdbd38d554a363f23d15dbfa144b7bdaca0d3e3d012a71cda719db24238 |
|
MD5 | 6066611184a22eba63cdb96c966b93a8 |
|
BLAKE2b-256 | 0f8801e316512d113d9bd0df2284285eba458f6ba18a56f4bc6fb7dcf8f880ec |