1.3.8 • Published 10 months ago

@pocket-tools/lambda-secrets v1.3.8

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

Lambda Secrets

This package is used to obtain a secret or parameter from the Lambda Layer cache when enabled.

Secrets Manaager Usage

import {fetchSecret} from '@pocket-tools/lambda-secrets';
const secret = fetchSecret('/Lambda/Super/Secret');

This also assumes that the secret stored in Secrets Manager is a JSON based value, which it almost always is.

Parameter Store Usage

import {fetchParameter} from '@pocket-tools/lambda-secrets';
const parameter = fetchParameter('/Lambda/Super/SecretParameter');
1.3.8

10 months ago

1.3.7

10 months ago

1.3.5

10 months ago

1.3.4

11 months ago

1.3.3

11 months ago

1.3.2

11 months ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago