Skip to content

syncsynchalt/aws-ssm-get-param

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

aws-ssm-get-param

A shell script which can fetch params from AWS SSM without using awscli.

It currently depends on:

  • bash - can be changed to sh if your shell's echo supports the -n flag
  • openssl - for calculating HMAC and SHA256
  • curl - for making web requests
  • python3 - for processing the json output

Substituting any of the dependencies above for equivalents is left as an exercise for the reader.

Share and enjoy!

Usage

Common setup:

export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
export AWS_REGION=...

To fetch a non-encrypted parameter:

./aws-ssm-get-param.sh /foo/bar/baz

To fetch an encrypted parameter:

./aws-ssm-get-param.sh /foo/bar/baz decrypt

About

Minimal-dependency script to get AWS SSM params

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages