Skip to main content

Provide secret keys to lambdas

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudcomponents.cdk-secret-key-2.2.0.tar.gz (133.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file cloudcomponents.cdk-secret-key-2.2.0.tar.gz.

File metadata

File hashes

Hashes for cloudcomponents.cdk-secret-key-2.2.0.tar.gz
Algorithm Hash digest
SHA256 ab2dd040f845a647bcc80030e8f82e148f5d6f46499b3758cc56eea3596b1a56
MD5 a3fe2f8cc7cc32e5be15623c99ae7a89
BLAKE2b-256 93bbb57861f1b292b689d5d4229c1667179e8035e84c68debfcc91a667e05a7d

See more details on using hashes here.

File details

Details for the file cloudcomponents.cdk_secret_key-2.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudcomponents.cdk_secret_key-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba50c83ab818bc73bf7b355f3a05af7ce3e20e8371630d41fd98a712d6ae7992
MD5 cf257e4bbf00e2a89b3dbdca7f394f57
BLAKE2b-256 c4499c03f748db2ea29d5929eef7935f6134f3d5970093faec8d7641207e0afd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page