A simple CLI for adding/removing/renaming/copying AWS Param Store Parameters
Project description
Why this script?
The current (Jul 2017) AWS Console for the Systems Manager Parameter Store is good for adding and editing the values of parameters, but misses key productivity functions like copying (especially en mass), renaming, etc. The current aws ssm CLI is very similar in functionality to the AWS Console.
This script is to automate a lot of the manual work currently needed with the existing AWS-provided UIs.
Usage
ls usage
ls names only
python awsparams.py ls
ls with values no decryption
python awsparams.py ls --values=True
ls with values and decryption
python awsparams.py ls --values=True --with-decryption=True
ls by prefix
python awsparams.py ls --prefix=appname.prd
new usage
new interactively
python awsparams.py new
new semi-interactively
python awsparams.py new appname.prd.username
new non-interactive
python awsparams.py new appname.prd.usrname parameter_value parameter_descripton
cp usage
copy a parameter
python awsparams.py cp appname.prd.username newappname.prd.username
copy set of parameters with prefix appname.dev. to appname.prd.
python awsparams.py cp appname.dev. appname.prd. --prefix=True
copy set of parameters starting with pattern repometa-generator.prd overwrite existing parameters accross different accounts
python awsparams.py cp repometa-generator.prd --src_profile=dev --dst_profile=trn --prefix=True
copy single parameters or list of specific parameters accross different accounts
python awsparams.py cp appname.dev.username appname.trb.username --src_profile=dev --dst_profile=trn
mv usage
rename/move a parameter
python awsparams.py mv appname.dev.username appname.prd.username
rename/move all parameters with a prefix changing only the prefix
python awsparams.py mv appname.dev appname.prd --prefix=True
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for awsparams-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7932106e8f81b4b565e76eeea565711fd4264fe7e09c7986784a9d897cdb04f6 |
|
MD5 | 167661b069b8b3cac040ccb3557a97a3 |
|
BLAKE2b-256 | 78578892a8bf224fa8c8ed896f124eb963d6eee5fae2970a0211f233bcef9ec8 |