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    Type    Value  Version LastModifiedDate test  String  test111        1   19/12/12 21:09 test2  String  test222        1   19/12/16 20:31 $ ssmp ls /test 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 `

list recursively

` $ ssmp ls -r / 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 `

Search key under the path recursive or no recursive

` $ ssmp grep ab / Not found $ ssmp grep -r ab / Name    Type    Value  Version LastModifiedDate /test/abc  String  test111        1   19/12/12 21:11 $ ssmp grep abc /test Name    Type    Value  Version LastModifiedDate /test/abc  String  test111        1   19/12/12 21:11 `

Search key on value of parameters

` $ ssmp grep -rv 11 / Name    Type    Value  Version LastModifiedDate /test/abc  String  test111        1   19/12/12 21:11 test  String  test111        1   19/12/12 21:09 $ ssmp grep -v 11 / Name    Type    Value  Version LastModifiedDate test  String  test111        1   19/12/12 21:09 `

Run from docker to use local aws config

` $ docker run --rm -v ~/.aws:/root/.aws yikaus/ssmp grep -rv 11 / Name    Type    Value  Version LastModifiedDate /test/abc  String  test111        1   19/12/12 10:11 test  String  test111        1   19/12/12 10:09 `

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.

Source Distribution

ssmp-0.0.5.tar.gz (2.4 kB view hashes)

Uploaded source

Built Distribution

ssmp-0.0.5-py3-none-any.whl (3.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page