/ssmpm

Get/set AWS SSM parameters

Primary LanguagePythonMIT LicenseMIT

SSM Parameter Manager

Get and set AWS SSM parameters.

Installation

Install from pypi:

pip install ssmpm

Install from GitHub:

pip install git+https://git@github.com/craighurley/ssmpm.git

Usage

Usage:
    ssmpm get [-s] [-p AWS_PROFILE] [-r AWS_REGION]
    ssmpm set FILE [-d] [-p AWS_PROFILE] [-r AWS_REGION]
    ssmpm (-h | --help)
    ssmpm (-v | --version)

Arguments:
    get           Get parameters.
    set           Create/update/delete parameters.
    FILE          Path to file that contains parameters.

Options:
    -d            Perform a dryrun.
    -h --help     Show this screen.
    -p PROFILE    AWS profile to use.
    -r REGION     AWS region to use.
    -s            Get secret value.
    -v --version  Show version.

FILE Format

ssmpm determines what to do with an entry based on the first character(s). Examples work best to describe the options:

#comment
/create/string=foo
*/create/securestring=password
!/create/string/but/do/not/update=bar
!*/create/securestring/but/do/not/update=password
-/delete/anything=true

Links