AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity

Last Modified

Mar 12, 2026

March 12, 2026 at 09:27 PM UTC

Version

v4

Total Versions

2

Created

Feb 12, 2026

Actions

13

Risk

no risk signal

Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

IAM Access Analyzer (2)

  • Warning / TYPE_MISMATCH

    Use the operator type String, Numeric instead of operator ARN for the condition key aws:RequestTag/AmazonECSCreated. AWS docs

  • Warning / TYPE_MISMATCH

    Use the operator type String, Numeric instead of operator ARN for the condition key aws:RequestTag/AmazonECSCreated. AWS docs

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "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: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": "DescribeTLSCertificateSecret",
          "Effect": "Allow",
          "Action": [
            "secretsmanager:DescribeSecret"
          ],
          "Resource": "arn:aws:secretsmanager:*:*:secret:ecs-sc!*",
          "Condition": {
            "StringEquals": {
              "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"
            }
          }
        }
      ]
    },
    "VersionId": "v4",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T18:02:05+00:00"
  }
}

Version History (7 recorded)

Raw history

AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity - Policy Version v4

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

bdbcd2e

AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity - Policy Version v4

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

4e0cb30

AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity - Policy Version v3

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

1361674

AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity - Policy Version v2

No recorded action delta - this version predates the change index. View the raw diff.

Nov 14, 2025

e076f24

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jan 19, 2024

a1be737