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.

Source Distribution

ssmp-0.0.7.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

ssmp-0.0.7-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file ssmp-0.0.7.tar.gz.

File metadata

  • Download URL: ssmp-0.0.7.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for ssmp-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d4bf171589becfb9871f28265d47def9d68891ad7b6281865c3db3f080ec53e0
MD5 0a9b9f2e2beac80d61cdd8884c361691
BLAKE2b-256 90b15c2eda66a0be3913f35b9b0d6c079b42056ae4d8ccd9d85d856e9963eb4c

See more details on using hashes here.

File details

Details for the file ssmp-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: ssmp-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for ssmp-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e4cc8a5d682df646baf5bc00b572044304228e6abc956c68121947c47b9dce6d
MD5 5bdfd4a9a53921f92f0d96be401fa909
BLAKE2b-256 fd3cecf7fbc69a980165276848676d6ed13255690997741c2559ca961398e5de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page