AmazonMSKFullAccess

Last Modified

Mar 12, 2026

March 12, 2026 at 09:27 PM UTC

Version

v7

Total Versions

13

Created

Oct 18, 2023

Actions

26

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Can rewrite resource policies and sharing

    Grants 2 permissions management actions across 2 services (kms, logs) on any resource, enough to share resources outside the account.

    kms:creategrantlogs:putresourcepolicy

    Use with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.

  • Medium

    Full kafka access on every resource

    Uses kafka:* with Resource "*" and no condition, so every action AWS adds to that service later is granted too.

    kafka:*

    Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.

IAM Access Analyzer (2)

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

    We recommend replacing the key aws:RequestTag/ClusterArn in the condition block of StringLike with {aws:RequestTag/ClusterArn: false} to ensure better enforcement of the condition. AWS docs

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

    We recommend replacing the key ec2:ResourceTag/ClusterArn in the condition block of StringLike with {ec2:ResourceTag/ClusterArn: false} to ensure better enforcement of the condition. AWS docs

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "kafka:*",
            "ec2:DescribeSubnets",
            "ec2:DescribeVpcs",
            "ec2:DescribeSecurityGroups",
            "ec2:DescribeRouteTables",
            "ec2:DescribeVpcEndpoints",
            "ec2:DescribeVpcAttribute",
            "kms:DescribeKey",
            "kms:CreateGrant",
            "logs:CreateLogDelivery",
            "logs:GetLogDelivery",
            "logs:UpdateLogDelivery",
            "logs:DeleteLogDelivery",
            "logs:ListLogDeliveries",
            "logs:PutResourcePolicy",
            "logs:DescribeResourcePolicies",
            "logs:DescribeLogGroups",
            "S3:GetBucketPolicy",
            "firehose:TagDeliveryStream"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateVpcEndpoint"
          ],
          "Resource": [
            "arn:*:ec2:*:*:vpc/*",
            "arn:*:ec2:*:*:subnet/*",
            "arn:*:ec2:*:*:security-group/*"
          ]
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateVpcEndpoint"
          ],
          "Resource": [
            "arn:*:ec2:*:*:vpc-endpoint/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/AWSMSKManaged": "true"
            },
            "StringLike": {
              "aws:RequestTag/ClusterArn": "*"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": "arn:*:ec2:*:*:vpc-endpoint/*",
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": "CreateVpcEndpoint"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:DeleteVpcEndpoints"
          ],
          "Resource": "arn:*:ec2:*:*:vpc-endpoint/*",
          "Condition": {
            "StringEquals": {
              "ec2:ResourceTag/AWSMSKManaged": "true"
            },
            "StringLike": {
              "ec2:ResourceTag/ClusterArn": "*"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": "iam:PassRole",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "iam:PassedToService": "kafka.amazonaws.com"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": "iam:CreateServiceLinkedRole",
          "Resource": "arn:aws:iam::*:role/aws-service-role/kafka.amazonaws.com/AWSServiceRoleForKafka*",
          "Condition": {
            "StringEquals": {
              "iam:AWSServiceName": "kafka.amazonaws.com"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": "iam:CreateServiceLinkedRole",
          "Resource": "arn:aws:iam::*:role/aws-service-role/delivery.logs.amazonaws.com/AWSServiceRoleForLogDelivery*",
          "Condition": {
            "StringEquals": {
              "iam:AWSServiceName": "delivery.logs.amazonaws.com"
            }
          }
        }
      ]
    },
    "VersionId": "v7",
    "IsDefaultVersion": true,
    "CreateDate": "2023-10-18T11:33:13+00:00"
  }
}

Version History (16 recorded)

Raw history

AmazonMSKFullAccess - Policy Version v7

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

Mar 12, 2026

04adf88

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.

Oct 18, 2023

2efa27e

Update detected

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

Jan 6, 2022

8482d61

Update detected

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

Nov 30, 2021

ae6c993

Update detected

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

Nov 30, 2021

03544ff

Update detected

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

Nov 18, 2021

186f557

Update detected

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

Mar 14, 2020

b59045e

Update detected

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

Feb 28, 2020

a8e56ac

Update detected

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

Sep 16, 2019

49aa1d0

Update detected

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

Sep 16, 2019

71619cf

Update detected

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

Sep 16, 2019

8279033

`2019-08-29`

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

Aug 29, 2019

5016d52

I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not

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

Jul 12, 2019

9d2dff1

First commit

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

Feb 10, 2019

ad4c2e8