Skip to main content
IAM Policy Map

KafkaServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

IAM service linked role policy for Kafka.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/KafkaServiceRolePolicy
Default version
v5
Created
Last edited
Services
acm-pca, ec2, secretsmanager

Control-plane actions (18)

By access level: 3 List, 3 Permissions management, 3 Read, 9 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Private Certificate Authority1 of 231 Read; 0 restricted, 0 conditionalacm-pca:GetCertificateAuthorityCertificate
EC212 of 8342 List, 1 Permissions management, 9 Write; 5 restricted, 4 conditionalec2:AssignIpv6Addresses, ec2:AttachNetworkInterface, ec2:CreateNetworkInterface, ec2:CreateNetworkInterfacePermission, ec2:DeleteNetworkInterface, ec2:DeleteVpcEndpoints, ec2:DescribeNetworkInterfaces, ec2:DescribeVpcEndpoints, ec2:DetachNetworkInterface, ec2:ModifyNetworkInterfaceAttribute, ec2:ModifyVpcEndpoint, ec2:UnassignIpv6Addresses
Secrets Manager5 of 271 List, 2 Permissions management, 2 Read; 4 restricted, 4 conditionalsecretsmanager:DeleteResourcePolicy, secretsmanager:DescribeSecret, secretsmanager:GetResourcePolicy, secretsmanager:ListSecrets, secretsmanager:PutResourcePolicy
Private Certificate Authority: 1 actions
  • acm-pca:GetCertificateAuthorityCertificate (Read)
EC2: 12 actions
  • ec2:AssignIpv6Addresses (Write)
  • ec2:AttachNetworkInterface (Write)
  • ec2:CreateNetworkInterface (Write)
  • ec2:CreateNetworkInterfacePermission (Permissions management)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DeleteVpcEndpoints (Write)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeVpcEndpoints (List)
  • ec2:DetachNetworkInterface (Write)
  • ec2:ModifyNetworkInterfaceAttribute (Write)
  • ec2:ModifyVpcEndpoint (Write)
  • ec2:UnassignIpv6Addresses (Write)
Secrets Manager: 5 actions
  • secretsmanager:DeleteResourcePolicy (Permissions management)
  • secretsmanager:DescribeSecret (Read)
  • secretsmanager:GetResourcePolicy (Read)
  • secretsmanager:ListSecrets (List)
  • secretsmanager:PutResourcePolicy (Permissions management)

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: No (service-linked role policy).

Why this tier

  • Grants 12 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.

Same service

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

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ec2:CreateNetworkInterface",
        "ec2:DescribeNetworkInterfaces",
        "ec2:CreateNetworkInterfacePermission",
        "ec2:AttachNetworkInterface",
        "ec2:DeleteNetworkInterface",
        "ec2:DetachNetworkInterface",
        "ec2:DescribeVpcEndpoints",
        "acm-pca:GetCertificateAuthorityCertificate",
        "secretsmanager:ListSecrets"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:ModifyVpcEndpoint"
      ],
      "Resource": "arn:*:ec2:*:*:subnet/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:DeleteVpcEndpoints",
        "ec2:ModifyVpcEndpoint"
      ],
      "Resource": "arn:*:ec2:*:*:vpc-endpoint/*",
      "Condition": {
        "StringEquals": {
          "ec2:ResourceTag/AWSMSKManaged": "true"
        },
        "StringLike": {
          "ec2:ResourceTag/ClusterArn": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "secretsmanager:GetResourcePolicy",
        "secretsmanager:PutResourcePolicy",
        "secretsmanager:DeleteResourcePolicy",
        "secretsmanager:DescribeSecret"
      ],
      "Resource": "*",
      "Condition": {
        "ArnLike": {
          "secretsmanager:SecretId": "arn:*:secretsmanager:*:*:secret:AmazonMSK_*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:AssignIpv6Addresses",
        "ec2:UnassignIpv6Addresses",
        "ec2:ModifyNetworkInterfaceAttribute"
      ],
      "Resource": "arn:*:ec2:*:*:network-interface/*",
      "Condition": {
        "StringEquals": {
          "ec2:ResourceTag/AWSMSKManaged": "true"
        },
        "StringLike": {
          "ec2:ResourceTag/ClusterArn": "*"
        }
      }
    }
  ]
}

Version history

Current version v5, edited by AWS on 2025-11-10. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.