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
import { SecretKey } from '@cloudcomponents/cdk-secret-key';
const secretKey = SecretKey.fromPlainText(process.env.SECRET_KEY as string);
const secretKeyString = secretKey.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.21.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a70216f98e76268ddb28d969deaf558c972a99799faf698ed751b714274123f3 |
|
MD5 | 836647aa11fc604f828ba5d77dabf2fb |
|
BLAKE2b-256 | 7548377eadb3ec66ade2fdf76ce3cc694d184b5524963107d5506c5b58ab64c4 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.21.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7680e0884e2cbdffff569aa3f4d9fe10c8747a3d409b8be2155cea4c2b5c33b5 |
|
MD5 | 6c1e45115301bbe30e2cfc6b5887a1a9 |
|
BLAKE2b-256 | 1e32575d4277306fb95b7cb5747368796e1dccd752ff3b03ae24e4d5240bf48e |