Storing Secrets in Amazon Parameter Store to use in ECS
Parameter Store
Create Parameter
Creating a Role and policy for ECS in IAM
Create Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"kms:Decrypt",
"ssm:GetParameters"
],
"Resource": [
"arn:aws:kms:<aws-region>:<account-id>:key/<key-id>",
"arn:aws:ssm:<aws-region>:<account-id>:parameter/<parameter>"
]
}
]
}Create Role
Last updated
Was this helpful?
