Skip to main content

paramsuits

A Python tool to manage parameters in AWS SSM parameter store

Dependencies

  1. AWS client configured
  2. 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)

Source distribution for paramsuits 0.0.1
File Size Uploaded
paramsuits-0.0.1.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for paramsuits 0.0.1
File Interpreter ABI Platform
paramsuits-0.0.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page