Difference between revisions of "How can I pass secrets or sensitive information securely to containers in an Amazon ECS task?"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[aws ssm put-parameter --type SecureString]]
 
  [[aws ssm put-parameter --type SecureString]]
 
  [[aws secretsmanager create-secret]]
 
  [[aws secretsmanager create-secret]]
 +
 +
 +
 +
{
 +
  "Version": "2012-10-17",
 +
  "Statement": [
 +
    {
 +
      "Sid": "",
 +
      "Effect": "Allow",
 +
      "Principal": {
 +
        "Service": "ecs-tasks.amazonaws.com"
 +
      },
 +
      "Action": "[[sts:AssumeRole]]"
 +
    }
 +
  ]
 +
}
  
  

Revision as of 13:43, 12 May 2023

Advertising: