aws-ssm-manager v1.2.1
MIT License
TL;DR
npm install -G aws-ssm-manager
npx aws-ssm-managerOR
git clone git@github.com:rkutsel/aws-ssm-manager.git
cd aws-ssm-manager
make initDescription
Interactive, CRUD-capible CLI tool to manage your AWS Parameter Store secrets. It can CREATE new secrets, READ, UPDATE, DELETE existing ones. Additionally it can Retrieve a decrypted value and SAVE generated output to a JSON file. Found to be useful for offline storage or when used as a source of truth.
It relies on AWS CLI for Authentication and Authorization. The interactive menu has a few regions ["US-WEST-2", "US-EAST-1", "EU-WEST-1"] that are there as an example. This can easily be extended by adding additional AWS regions to the config.js file.
Some Assumptions
- You have installed and configured AWS CLI with profiles
- You authenticated into AWS if you're using temporary tokens
- Parameter Store Tier => Standard. Can be changed in config.js file.
- Override on creation => false. Can be changed in config.js file.
- Default directory path => "./output" Can be changed in config.js file.
Installing Local Dependencies
If you don't want to use it as an NPM package, you can do so by clonning the repo git clone git@github.com:rkutsel/aws-ssm-manager.git and install local dependencies by running npm install in your terminal. A successful installation should look somewhat similar to the one bellow:
added 104 packages, and audited 105 packages in 2s
60 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilitiesUsage
After the installation is complete, you should be able to run it. From the root directory run:
make startOR
npm startA successful run should start the interactive prompt with the initial question. Expected output:
➜ make start
node app.js
Starting the app...
? Choose action type:
====================== (Use arrow keys)
❯ Create New Secret
Get All Secrets
Get Decrypted Secret
Update Existing Secret
Delete Existing Secret
Exit