Created
December 4, 2023 02:09
-
-
Save pen-pal/6830f5454a9214a54aa9961a69b28aa5 to your computer and use it in GitHub Desktop.
get parameter from aws with decryption
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#this will get parameters list from aws and output it | |
aws ssm get-parameter --name "{{parameter-name}" --with-decryption --query "Parameter.Value" --output text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#this will get parameters list from aws and output it per name per line | |
aws ssm describe-parameters --query "Parameters[].Name" --output text| tr -s '[:space:]' '\n' | sed '/^\s*$/d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment