AWS System Manager (SSM) Parameter Store is a common place for teams to keep track of key/value data and sensitive information. Not to be confused with “Secrets Manager” from AWS which is about 10x the cost and offers only specialized upside as both services can securely store data and make it easily accessible. Read more about the differences here.
This is an example of using an HTTP Request Action Credential with Parameter Store.
{
"url": "<https://ssm.us-east-1.amazonaws.com>",
"method": "post",
"content_type": "application/x-amz-json-1.1",
"payload": {
"Name": "password"
},
"headers": {
"Authorization": "{{.CREDENTIAL.aws}}",
"X-Amz-Target": "AmazonSSM.GetParameter"
}
}
aws_ssm.body.Parameter.Value