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
awsparams ls
ls with values no decryption
awsparams ls --values=True
ls with values and decryption
awsparams ls --values=True --with-decryption=True
ls by prefix
awsparams ls --prefix=appname.prd
new usage
new interactively
awsparams new
new semi-interactively
awsparams new appname.prd.username
new non-interactive
awsparams new appname.prd.usrname parameter_value parameter_descripton
cp usage
copy a parameter
awsparams cp appname.prd.username newappname.prd.username
copy set of parameters with prefix appname.dev. to appname.prd.
awsparams cp appname.dev. appname.prd. --prefix=True
copy set of parameters starting with pattern repometa-generator.prd overwrite existing parameters accross different accounts
awsparams cp repometa-generator.prd --src_profile=dev --dst_profile=trn --prefix=True
copy single parameters or list of specific parameters accross different accounts
awsparams cp appname.dev.username appname.trb.username --src_profile=dev --dst_profile=trn
mv usage
rename/move a parameter
awsparams mv appname.dev.username appname.prd.username
rename/move all parameters with a prefix changing only the prefix
awsparams 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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ae200f50276cb973fd83c84414ff3f95be5d399afc5f524a80e2acaba560084 |
|
MD5 | e319f8c65ae413307cb660c50404d058 |
|
BLAKE2b-256 | ce154f64acc934081cb53a38f36c04ec92aefe2540be1aec2bed41ed2254d188 |