AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity
Summary
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.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/service-role/AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity- Default version
- v4
- Created
- Last edited
- Services
- acm-pca, secretsmanager
Control-plane actions (13)
By access level: 5 Read, 1 Tagging, 7 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Private Certificate Authority | 4 of 23 | 3 Read, 1 Write; 4 restricted, 4 conditional | acm-pca:DescribeCertificateAuthority, acm-pca:GetCertificate, acm-pca:GetCertificateAuthorityCertificate, acm-pca:IssueCertificate |
| Secrets Manager | 9 of 27 | 2 Read, 1 Tagging, 6 Write; 9 restricted, 9 conditional | secretsmanager:CreateSecret, secretsmanager:DeleteSecret, secretsmanager:DescribeSecret, secretsmanager:GetSecretValue, secretsmanager:PutSecretValue, secretsmanager:RotateSecret, secretsmanager:TagResource, secretsmanager:UpdateSecret, secretsmanager:UpdateSecretVersionStage |
Private Certificate Authority: 4 actions
- acm-pca:DescribeCertificateAuthority (Read)
- acm-pca:GetCertificate (Read)
- acm-pca:GetCertificateAuthorityCertificate (Read)
- acm-pca:IssueCertificate (Write)
Secrets Manager: 9 actions
- secretsmanager:CreateSecret (Write)
- secretsmanager:DeleteSecret (Write)
- secretsmanager:DescribeSecret (Read)
- secretsmanager:GetSecretValue (Read)
- secretsmanager:PutSecretValue (Write)
- secretsmanager:RotateSecret (Write)
- secretsmanager:TagResource (Tagging)
- secretsmanager:UpdateSecret (Write)
- secretsmanager:UpdateSecretVersionStage (Write)
Data-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: mixed.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 8 write, tagging or permissions-management actions, short of full control of any service.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AlexaForBusinessDeviceSetup
- AlexaForBusinessNetworkProfileServicePolicy
- AmazonAppStreamPCAAccess
- AmazonCognitoIdpServiceRolePolicy
- AmazonDataZonePreviewConsoleFullAccess
- AmazonDocDBElasticFullAccess
- AmazonEKSLocalOutpostServiceRolePolicy
- AmazonEventBridgeApiDestinationsServiceRolePolicy
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"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"
}
}
}
]
}
Version history
Current version v4, edited by AWS on 2026-02-12. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurityCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurityTerraform
resource "aws_iam_role_policy_attachment" "service_role_amazonecsinfrastructurerolepolicyforserviceconnecttransportlayersecurity" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity"),
);Sources
Pending editorial review. No editorial sources are listed yet.