8 lines
148 B
Bash
8 lines
148 B
Bash
getSecret() {
|
|
aws ssm get-parameter \
|
|
--region us-east-1 \
|
|
--name "$1" \
|
|
--with-decryption \
|
|
--output json \
|
|
| jq -r ".Parameter.Value"
|
|
} |