Skip to main content
IAM Policy Map

AWSRolesAnywhereReadOnly

ReaderAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides read-only permissions to IAM Roles Anywhere resources, including but not limited to: GetTrustAnchor, ListProfiles, GetCRL. There will be no other permissions for other services included in this policy.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSRolesAnywhereReadOnly
Default version
v3
Created
Last edited
Services
rolesanywhere

Control-plane actions (9)

By access level: 5 List, 4 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
IAM Roles Anywhere9 of 305 List, 4 Read; 8 restricted, 0 conditionalrolesanywhere:GetCrl, rolesanywhere:GetProfile, rolesanywhere:GetSubject, rolesanywhere:GetTrustAnchor, rolesanywhere:ListCrls, rolesanywhere:ListProfiles, rolesanywhere:ListSubjects, rolesanywhere:ListTagsForResource, rolesanywhere:ListTrustAnchors
IAM Roles Anywhere: 9 actions
  • rolesanywhere:GetCrl (Read)
  • rolesanywhere:GetProfile (Read)
  • rolesanywhere:GetSubject (Read)
  • rolesanywhere:GetTrustAnchor (Read)
  • rolesanywhere:ListCrls (List)
  • rolesanywhere:ListProfiles (List)
  • rolesanywhere:ListSubjects (List)
  • rolesanywhere:ListTagsForResource (List)
  • rolesanywhere:ListTrustAnchors (List)

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 only List and Read actions.

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": [
    {
      "Sid": "Profiles",
      "Effect": "Allow",
      "Action": [
        "rolesanywhere:ListProfiles",
        "rolesanywhere:GetProfile"
      ],
      "Resource": [
        "arn:aws:rolesanywhere:*:*:profile/*"
      ]
    },
    {
      "Sid": "CRLs",
      "Effect": "Allow",
      "Action": [
        "rolesanywhere:ListCrls",
        "rolesanywhere:GetCrl"
      ],
      "Resource": [
        "arn:aws:rolesanywhere:*:*:crl/*"
      ]
    },
    {
      "Sid": "Subjects",
      "Effect": "Allow",
      "Action": [
        "rolesanywhere:ListSubjects",
        "rolesanywhere:GetSubject"
      ],
      "Resource": [
        "arn:aws:rolesanywhere:*:*:subject/*"
      ]
    },
    {
      "Sid": "TrustAnchors",
      "Effect": "Allow",
      "Action": [
        "rolesanywhere:ListTrustAnchors",
        "rolesanywhere:GetTrustAnchor"
      ],
      "Resource": [
        "arn:aws:rolesanywhere:*:*:trust-anchor/*"
      ]
    },
    {
      "Sid": "Tags",
      "Effect": "Allow",
      "Action": [
        "rolesanywhere:ListTagsForResource"
      ],
      "Resource": [
        "*"
      ]
    }
  ]
}

Version history

Current version v3, 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/AWSRolesAnywhereReadOnly
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSRolesAnywhereReadOnly
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSRolesAnywhereReadOnly

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.