This is a command line interface to the AWS SSM Parameter Store.
It's designed to be simple and easy to remember. A more featureful alternative is Chamber.
Binaries are available for Linux and MacOS.
To install from source, install a Go compiler and:
go install github.com/adhocteam/ssm@latest
All parameters:
ssm ls
Params containing /my-app
ssm ls /my-app
Params containing /my-app
with secrets printed in plaintext
ssm ls --secrets /my-app
ssm get /myapp/staging/key
You can use the value of a parameter in a bash script like
PGPASSWORD=$(ssm get /myapp/prod/pgpass)
ssm set /myapp/staging/version 27
ssm rm /myapp/staging/version
The app will either rely on the AWS_PROFILE
environment variable,
or you can set one with the -p
and --profile
flag. For each example above,
add that flag, i.e. ssm -p myprofile ls myapp
to override the AWS_PROFILE
.