1.2.1 • Published 1 month ago

aws-ssm-manager v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

MIT License

License: MIT

TL;DR

npm install -G aws-ssm-manager
npx aws-ssm-manager

OR

git clone git@github.com: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

  1. You have installed and configured AWS CLI with profiles
  2. You authenticated into AWS if you're using temporary tokens
  3. Parameter Store Tier => Standard. Can be changed in config.js file.
  4. Override on creation => false. Can be changed in config.js file.
  5. 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 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
1.2.1

1 month ago

1.2.0

1 year ago

1.1.9

1 year ago

1.1.10

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago