aws ssm get-parameter
CautionParameter Store
aws ssm get-parameter --name <name> --with-decryption
Reads/writes central config; SecureString plus --with-decryption is the standard secrets pattern.
Examples
aws ssm get-parameter --name /app/db/password --with-decryption --query Parameter.Value --output textFetch a secret value
Syntax
aws ssm get-parameter --name n [--with-decryption] / put-parameter --name n --value v --type SecureString
Before you run it
Decrypted values linger in logs.
Related commands
- aws ssm start-sessionSession Manager shell
- kubectl get secretInspect Secrets
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store