Skip to content

Instantly share code, notes, and snippets.

@Y-LyN-10
Created December 12, 2019 07:36
Show Gist options
  • Save Y-LyN-10/a2c7398cb6cc15304b811f05f1a26e14 to your computer and use it in GitHub Desktop.
Save Y-LyN-10/a2c7398cb6cc15304b811f05f1a26e14 to your computer and use it in GitHub Desktop.
AWS CLI Parameter Store - get decrypted value only
$ aws ssm get-parameter --name /system/something_passphrase --region us-east-1 --with-decryption --query "Parameter.Value" --output text
> (Get-SSMParameterValue -Name /system/something_passphrase -WithDecryption 1).Parameters.Value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment