Provide secret keys to lambdas
TypeScript/JavaScript:
npm i @cloudcomponents/cdk-secret-key
Python:
pip install cloudcomponents.cdk-secret-key
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
See API.md.
See more complete examples.