Skip to main content
IAM Policy Map

AmazonKeyspacesReadOnlyAccess_v2

ReaderAWS managedActiveReviewedShow on mapCompare

Summary

Provides read only access to Amazon Keyspaces and related AWS services. The Amazon Keyspaces (for Apache Cassandra) Developer Guide says it also includes the permissions needed when connecting through private VPC endpoints.

Permissions imported from the AWS Managed Policy Reference Guide; other sections reviewed against the listed AWS sources.

Identity

ARN
arn:aws:iam::aws:policy/AmazonKeyspacesReadOnlyAccess_v2
Default version
v4
Created
Last edited
Services
application-autoscaling, cassandra, cloudwatch, ec2, kms

Control-plane actions (12)

By access level: 4 List, 8 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Application Auto Scaling4 of 144 Read; 0 restricted, 0 conditionalapplication-autoscaling:DescribeScalableTargets, application-autoscaling:DescribeScalingActivities, application-autoscaling:DescribeScalingPolicies, application-autoscaling:DescribeScheduledActions
Keyspaces3 of 191 List, 2 Read; 0 restricted, 0 conditionalcassandra:GetStream, cassandra:ListStreams, cassandra:Select
CloudWatch1 of 1601 Read; 0 restricted, 0 conditionalcloudwatch:DescribeAlarms
EC22 of 8342 List; 0 restricted, 0 conditionalec2:DescribeNetworkInterfaces, ec2:DescribeVpcEndpoints
KMS2 of 581 List, 1 Read; 0 restricted, 0 conditionalkms:DescribeKey, kms:ListAliases
Application Auto Scaling: 4 actions
  • application-autoscaling:DescribeScalableTargets (Read)
  • application-autoscaling:DescribeScalingActivities (Read)
  • application-autoscaling:DescribeScalingPolicies (Read)
  • application-autoscaling:DescribeScheduledActions (Read)
Keyspaces: 3 actions
  • cassandra:GetStream (Read)
  • cassandra:ListStreams (List)
  • cassandra:Select (Read)
CloudWatch: 1 actions
  • cloudwatch:DescribeAlarms (Read)
EC2: 2 actions
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeVpcEndpoints (List)
KMS: 2 actions
  • kms:DescribeKey (Read)
  • kms:ListAliases (List)

Data-plane actions (3)

By access level: 3 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
KeyspacesAll 2 actions (see the Keyspaces page)2 Read; 0 restricted, 0 conditionalcassandra:GetRecords, cassandra:GetShardIterator
CloudWatch1 of 51 Read; 0 restricted, 0 conditionalcloudwatch:GetMetricData
CloudWatch: 1 actions
  • cloudwatch:GetMetricData (Read)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: all-resources.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants only List and Read actions.

Guidance

Practical scope

The first statement allows cassandra:Select, cassandra:ListStreams, cassandra:GetStream, cassandra:GetShardIterator and cassandra:GetRecords on Resource "*". The second allows four application-autoscaling Describe actions, cloudwatch:DescribeAlarms, cloudwatch:GetMetricData, kms:DescribeKey and kms:ListAliases. The third allows ec2:DescribeNetworkInterfaces and ec2:DescribeVpcEndpoints.

Use cases

  • Give users read-only access to Amazon Keyspaces, including viewing CDC streams, automatic scaling policies on tables, billable table size and CloudWatch alarms.
  • Connect to Amazon Keyspaces through private VPC endpoints, which the policy's EC2 read-only actions support.

Best practices

  • AWS managed policies don't grant least privilege permissions. The IAM User Guide suggests using IAM Access Analyzer to see which permissions principals actually use, then writing a custom policy or generating one with only the required permissions.
  • AWS managed policies might not grant least-privilege permissions for your specific use cases because they are available to all AWS customers. The Amazon Keyspaces (for Apache Cassandra) Developer Guide recommends reducing permissions further with customer managed policies specific to your use cases.

Security considerations

  • cassandra:Select, cassandra:GetRecords and cassandra:GetShardIterator are allowed on all resources. The Developer Guide describes the policy as read-only access that includes viewing CDC streams.
  • You cannot change the permissions in an AWS managed policy. If AWS updates the policy, the update affects every user, group and role it is attached to.

Assignment guidance

You can attach this policy to your IAM identities. The reference page says users, groups and roles, and links to guidance on creating a permission set using AWS managed policies in IAM Identity Center. It fits where read-only access to Amazon Keyspaces is intended.

Same service

Same domain

Frequently asked questions

When should I attach AmazonKeyspacesReadOnlyAccess_v2?
The Amazon Keyspaces (for Apache Cassandra) Developer Guide describes it as read-only access to Amazon Keyspaces that includes the permissions required when connecting through private VPC endpoints. Attach it to users who need to read and view but not administer.
What does AmazonKeyspacesReadOnlyAccess_v2 grant?
It allows cassandra:Select, ListStreams, GetStream, GetShardIterator and GetRecords; Application Auto Scaling describe actions; cloudwatch:DescribeAlarms and GetMetricData; kms:DescribeKey and ListAliases; and ec2:DescribeNetworkInterfaces and DescribeVpcEndpoints, all on all resources.
What are the security risks of AmazonKeyspacesReadOnlyAccess_v2?
The policy has no write actions, but its read actions, including cassandra:Select and CDC stream reads, apply to all resources. AWS managed policies might not grant least-privilege permissions for your use case, and AWS updates to the policy affect every identity it is attached to.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "cassandra:Select",
        "cassandra:ListStreams",
        "cassandra:GetStream",
        "cassandra:GetShardIterator",
        "cassandra:GetRecords"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "application-autoscaling:DescribeScalableTargets",
        "application-autoscaling:DescribeScalingActivities",
        "application-autoscaling:DescribeScalingPolicies",
        "application-autoscaling:DescribeScheduledActions",
        "cloudwatch:DescribeAlarms",
        "cloudwatch:GetMetricData",
        "kms:DescribeKey",
        "kms:ListAliases"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeNetworkInterfaces",
        "ec2:DescribeVpcEndpoints"
      ],
      "Resource": "*"
    }
  ]
}

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/AmazonKeyspacesReadOnlyAccess_v2
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonKeyspacesReadOnlyAccess_v2
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonKeyspacesReadOnlyAccess_v2

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AmazonKeyspacesReadOnlyAccess_v2

Terraform

resource "aws_iam_role_policy_attachment" "amazonkeyspacesreadonlyaccess_v2" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonKeyspacesReadOnlyAccess_v2"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonKeyspacesReadOnlyAccess_v2"),
);

Sources