@hobbiej/aws-secrets
v1.0.4
Published
Downloads .env files from AWS Secret Manager
Downloads
3
Maintainers
Readme
AWS Secrets
Made with ❤️ by Jacob Hobbie
About
Basically, I wanted to create an easier and safer system for grabbing .env
credentials for projects my team used. I only later figured out how many of these clients already existed out in the internet after I started, so here's another one, and I hope you like it.
This tool is extremely opinonated. It downloads
key: value
pairs from AWS Secret Manger and saves them to a .env file in the directory where this program is called. It formats the pairs like so:
key='value'
Install
npm install -g @hobbiej/aws-secrets
Setup
You will need to have the AWS CLI installed on your machine for this program to work. You can find the instructions on how to install the CLI for your specific operating system here.
You will also need to set up the CLI so that you are logged into your AWS instance through the CLI. You can find the instructions on how to set up the CLI here.
Usage
aws-secrets -p [project]
// Example
aws-secrets -p test-project