Skip to main content

CLI tool for AWS SSM parameter

Project description

Description: # AWS SSM parameter helper cli I created for myself

### Install

pip3 install ssmp

### Usage

ssmp –help

use docker

docker run yikaus/ssmp

### Example

list all parameters only under the path , no recursive.

` $ ssmp ls / Name   Value test   test111 test2  test222 `

` $ ssmp ls /test Name       Value /test/abc  test111 /test/cde  test `

showing all columns

` $ ssmp ls -a / Name    Type    Value  Version LastModifiedDate test   String  test111  1       19/12/12 21:09 test2  String  test222  1       19/12/16 20:31 `

list recursively

` $ ssmp ls -r / Name        Value /test/abc   test111 /test/cde   test test        test111 test2       test222 `

` $ ssmp ls -ra / Name        Type    Value    Version  LastModifiedDate /test/abc   String  test111 1         19/12/12 21:11 /test/cde   String  test    1         19/12/16 20:32 test        String  test111 1         19/12/12 21:09 test2       String  test222 1         19/12/16 20:31 `

list without displaying header

` $ ssmp ls -raq / /test/abc   String  test111 1         19/12/12 21:11 /test/cde   String  test    1         19/12/16 20:32 test        String  test111 1         19/12/12 21:09 test2       String  test222 1         19/12/16 20:31 `

Search key under the path recursive or no recursive

` $ ssmp grep ab / Not found `

` $ ssmp grep -r ab / Name       Value /test/abc  test111 `

` $ ssmp grep abc /test Name       Value /test/abc  test111 `

Search value of parameters

` $ ssmp grep -rv 11 / Name       Value /test/abc  test111 test       test111 `

` $ ssmp grep -v 11 / Name       Value test       test111 `

Run from docker to use local aws config

` $ docker run --rm -v ~/.aws:/root/.aws yikaus/ssmp grep -rv 11 / Name       Value /test/abc  test111 test       test111 `

Platform: UNKNOWN Description-Content-Type: text/markdown

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ssmp, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size ssmp-0.0.6-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ssmp-0.0.6.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page