node-aws-secrets-loader
Tool to automatically load AWS secret to environment variable
Example (es module)
import { awsSecretLoader } from '@bordeux/node-aws-secrets-loader'
await awsSecretLoader({ SecretId: "someSecret" })
Example (commonjs)
const { awsSecretLoader } = require('@bordeux/node-aws-secrets-loader');
await awsSecretLoader({ SecretId: "someSecret" })