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.20.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67752ef66cb39bdad16df43a90f1c5a4d63f4bf02487f205c7fc22381e7afcc2 |
|
MD5 | 3992c6d7cc0fa208b7059399c3003bbe |
|
BLAKE2b-256 | 3f087786ac884cfa74da918c66357a0e7ba77b8e1e4b3b755ec544e89e21fab6 |
Close
Hashes for cloudcomponents.cdk_secret_key-1.20.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f8e8e7b5308b20f3522532cbebabac69c43481f04a3907f9c4bc3efd84aaa97 |
|
MD5 | 1a0a0505e7a3947abb2dfc093660e479 |
|
BLAKE2b-256 | 7d934974d60691f63acbffdf42ce4771203cf3f6d8f4a30e1656331b8ae914fb |