aws-secret
169 bytes
1# vim: ft=zsh
2# Get a secret from aws secretsmanager given the secret ID as the only parameter
3
4aws secretsmanager get-secret-value --secret-id $1 | jq -r .SecretString
1# vim: ft=zsh
2# Get a secret from aws secretsmanager given the secret ID as the only parameter
3
4aws secretsmanager get-secret-value --secret-id $1 | jq -r .SecretString