AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity - AWS Managed Policy

AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity

Description: Provides administrative access to Private Certificate Authority, AWS Secrets Manager and other AWS services required to manage ECS Service Connect TLS features on your behalf.

AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity is an AWS managed policy.

Using this policy

You can attach AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity to your users, groups, and roles.

Policy details

  • Type: Service role policy

  • Creation time: January 19, 2024, 20:08 UTC

  • Edited time: January 19, 2024, 20:08 UTC

  • ARN: arn:aws:iam::aws:policy/service-role/AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity

Policy version

Policy version: v1 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "CreateSecret", "Effect" : "Allow", "Action" : "secretsmanager:CreateSecret", "Resource" : "arn:aws:secretsmanager:*:*:secret:ecs-sc!*", "Condition" : { "ArnLike" : { "aws:RequestTag/AmazonECSCreated" : [ "arn:aws:ecs:*:*:service/*/*", "arn:aws:ecs:*:*:task-set/*/*" ] }, "StringEquals" : { "aws:RequestTag/AmazonECSManaged" : "true", "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "TagOnCreateSecret", "Effect" : "Allow", "Action" : "secretsmanager:TagResource", "Resource" : "arn:aws:secretsmanager:*:*:secret:ecs-sc!*", "Condition" : { "ArnLike" : { "aws:RequestTag/AmazonECSCreated" : [ "arn:aws:ecs:*:*:service/*/*", "arn:aws:ecs:*:*:task-set/*/*" ] }, "StringEquals" : { "aws:RequestTag/AmazonECSManaged" : "true", "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "RotateTLSCertificateSecret", "Effect" : "Allow", "Action" : [ "secretsmanager:DescribeSecret", "secretsmanager:UpdateSecret", "secretsmanager:GetSecretValue", "secretsmanager:PutSecretValue", "secretsmanager:DeleteSecret", "secretsmanager:RotateSecret", "secretsmanager:UpdateSecretVersionStage" ], "Resource" : "arn:aws:secretsmanager:*:*:secret:ecs-sc!*", "Condition" : { "StringEquals" : { "secretsmanager:ResourceTag/aws:secretsmanager:owningService" : "ecs-sc", "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "ManagePrivateCertificateAuthority", "Effect" : "Allow", "Action" : [ "acm-pca:GetCertificate", "acm-pca:GetCertificateAuthorityCertificate", "acm-pca:DescribeCertificateAuthority" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceTag/AmazonECSManaged" : "true" } } }, { "Sid" : "ManagePrivateCertificateAuthorityForIssuingEndEntityCertificate", "Effect" : "Allow", "Action" : [ "acm-pca:IssueCertificate" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceTag/AmazonECSManaged" : "true", "acm-pca:TemplateArn" : "arn:aws:acm-pca:::template/EndEntityCertificate/V1" } } } ] }

Learn more