paramsuits
A Python tool to manage parameters in AWS SSM parameter store
Dependencies
- AWS client configured
- boto3 version 1.4.6 or later installed
Installation
pip install paramsuits
Usage
usage: paramsuits [-h] [-r REGION] [-p PATH] [-P PROFILE | -A ARN] {keys,get,getAll,put} ...
Tool to manage parameters in AWS SSM parameter store
get
usage: paramsuits.py get [-h] param
Get parameter value of a given name.If more than one paramters found, only the first matched value will be retured
positional arguments:
param The name of the paramter to get
getAll
usage: paramsuits.py getAll [-h] [-decrypt] [-recursive] [-showPath]
List name and value for all parameters of a given pathEach paramter will display one line as {{name}} = {{value}}
optional arguments:
-decrypt, --decrypt Decrypt value for SecureString type of parameter
-recursive, --recursive Traverse through all child paths recursively
-showPath, --show-path Display parameter name with path
keys
usage: paramsuits.py keys [-h] [-recursive] [-showPath] [-prefix PREFIX]
List all keys in the store which match given condtions
optional arguments:
-recursive, --recursive Traverse through all child paths recursively
-showPath, --show-path Display parameter name with path
-prefix PREFIX, --prefix PREFIX Filter parameter name with given prefix, parameter path is not considered as prefix
put
usage: paramsuits.py put [-h] [-encrypt] [-advancedTier] [-isList] [-keyId KEY_ID] [-skipTagging | -tags TAGS param_name param_value [param_value ...]
Put a parameter into parameter store. Policy is not supported in current version
positional arguments:
param_name Parameter name to put
param_value Parameter value to put. If the value is a list, devide each value by space
optional arguments:
-encrypt, --encrypt If the parameter type is SecureString. Ignored for list type of values
-advancedTier, --advanced-tier Mark this parameter is Advanced tier parameter
-isList, --is-list Parameter type is StringList. Only needed for single value list
-keyId KEY_ID, --key-id KEY_ID Key Id to encrypt parameter. Used when -encrypt option is used
-skipTagging, --skip-tagging Not add any tags to this parameter
-tags TAGS, --tags TAGS Tags for the parameter. Applies default tags of name and user if the neither values are given through this option nor --skip-tagging is set
optional arguments:
-h, --help show this help message and exit
-r REGION, --region REGION
the AWS region in which the parameter store resides.
If a region is not specified, the tool will use env
variable AWS_DEFAULT_REGION if it's available.
Otherwise it will try to use the value in
`~/.aws/config`.As a last resort, it will use us-
east-1
-p PATH, --path PATH Parameter path in parameter store. Use root path if no
value assigned
-P PROFILE, --profile PROFILE
Boto config profile to use when connection to AWS
-A ARN, --arn ARN AWS IAM ARN for AssumeRole
Metadata
Release files for paramsuits 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| paramsuits-0.0.1.tar.gz | 6.6 kB | Without provenance | Details for paramsuits-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| paramsuits-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for paramsuits-0.0.1-py3-none-any.whl |
Total release size: 18.2 kB
Release files / paramsuits-0.0.1.tar.gz
| Download URL | paramsuits-0.0.1.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfe86e25101ee31165f553c5285e2893fcf0cd96426f21b3a6770b86a292a523
|
|
BLAKE2b-256 checksum How to use checksums |
88761f3b99bbbcd841728e55ffe8ecfa125e652ab1aaa34a0f1677473d6fd8f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / paramsuits-0.0.1-py3-none-any.whl
| Download URL | paramsuits-0.0.1-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a296d490e2453f5c64444e938026e226a405e57d17ee180bc17f13d3bf0c95c9
|
|
BLAKE2b-256 checksum How to use checksums |
0171dcc2c18932f8ddcd0dd484237d9211750aa88aec54c2b3cf905e84c2a79a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for paramsuits 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.