0.1.0 • Published 2 years ago

fetch-secret v0.1.0

Weekly downloads
919
License
MIT
Repository
github
Last release
2 years ago

fetch-secret

Build Status

A simple utility for fetching a secret from AWS secrets manager into file that can be sourced by bash.

Usage

npx fetch-secrets --output ./fileToAppendTo.sh --secret arn:aws:secretsmanager:${AWS_REGION}:${AWS_ACCOUNT_ID}:secret:someSecretName

With automatic role assumption

npx fetch-secrets --output ./fileToAppendTo.sh --role arn:aws:iam::${AWS_ACCOUNT_ID}:role/some-role --secret arn:aws:secretsmanager:${AWS_REGION}:${AWS_ACCOUNT_ID}:secret:someSecretName
0.1.0

2 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago