aws-ssm-manager
v1.2.1
Published
Manage Parameter Store Secrets in AWS
Downloads
32
Maintainers
Readme
MIT License
TL;DR
npm install -G aws-ssm-manager
npx aws-ssm-manager
OR
git clone [email protected]:rkutsel/aws-ssm-manager.git
cd aws-ssm-manager
make init
Description
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 [email protected]: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 vulnerabilities
Usage
After the installation is complete, you should be able to run it. From the root
directory run:
make start
OR
npm start
A 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