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-2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1bfbd0946efd7d33002b9aec3ecf7bb8c4e40f0ee1216d1c270968c9fcfa5fe |
|
MD5 | e26326bdb165b512961a65e39b3423cc |
|
BLAKE2b-256 | 1865d7c9b2fab6d3b9bf101b697e0c10051b3e333f4040c673010a3e50dc3fa9 |
Close
Hashes for cloudcomponents.cdk_secret_key-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81269532c2bd735594e042aee5e1316afe3ab08a0820c34c9a612f2fd7d507d4 |
|
MD5 | 4051991e4c2f5c774d5334a3084d6ea0 |
|
BLAKE2b-256 | 43eac5698364eff274cc872beb63e263ac8648817ede3acddbd153bbe56c6aa6 |