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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab2dd040f845a647bcc80030e8f82e148f5d6f46499b3758cc56eea3596b1a56 |
|
MD5 | a3fe2f8cc7cc32e5be15623c99ae7a89 |
|
BLAKE2b-256 | 93bbb57861f1b292b689d5d4229c1667179e8035e84c68debfcc91a667e05a7d |
Close
Hashes for cloudcomponents.cdk_secret_key-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba50c83ab818bc73bf7b355f3a05af7ce3e20e8371630d41fd98a712d6ae7992 |
|
MD5 | cf257e4bbf00e2a89b3dbdca7f394f57 |
|
BLAKE2b-256 | c4499c03f748db2ea29d5929eef7935f6134f3d5970093faec8d7641207e0afd |