@cloudcomponents/cdk-secret-key
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

cloudcomponents Logo

@cloudcomponents/cdk-secret-key

Build Status cdkdx typescript python

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

MIT

Package Sidebar

Install

npm i @cloudcomponents/cdk-secret-key

Weekly Downloads

35

Version

2.1.0

License

MIT

Unpacked Size

1.18 MB

Total Files

13

Last publish

Collaborators

  • hupe1980