Skip to main content
IAM Policy Map

AWSDataExchangeReadOnly

ReaderAWS managedActiveReviewedShow on mapCompare

Summary

Grants read-only access to AWS Data Exchange and AWS Marketplace actions using the AWS Management Console and SDK. The AWS Data Exchange User Guide describes it the same way.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSDataExchangeReadOnly
Default version
v4
Created
Last edited
Services
aws-marketplace, dataexchange

Control-plane actions (28)

By access level: 16 List, 12 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Marketplace13 of 978 List, 5 Read; 0 restricted, 0 conditionalaws-marketplace:DescribeChangeSet, aws-marketplace:DescribeEntity, aws-marketplace:GetAgreementApprovalRequest, aws-marketplace:GetAgreementRequest, aws-marketplace:GetAgreementTerms, aws-marketplace:ListAgreementApprovalRequests, aws-marketplace:ListAgreementRequests, aws-marketplace:ListChangeSets, aws-marketplace:ListEntities, aws-marketplace:ListPrivateListings, aws-marketplace:ListTagsForResource, aws-marketplace:SearchAgreements and 1 more
Data Exchange15 of 398 List, 7 Read; 0 restricted, 0 conditionaldataexchange:GetAsset, dataexchange:GetDataGrant, dataexchange:GetDataSet, dataexchange:GetEventAction, dataexchange:GetJob, dataexchange:GetReceivedDataGrant, dataexchange:GetRevision, dataexchange:ListDataGrants, dataexchange:ListDataSetRevisions, dataexchange:ListDataSets, dataexchange:ListEventActions, dataexchange:ListJobs and 3 more
Marketplace: 13 actions
  • aws-marketplace:DescribeChangeSet (Read)
  • aws-marketplace:DescribeEntity (Read)
  • aws-marketplace:GetAgreementApprovalRequest (Read)
  • aws-marketplace:GetAgreementRequest (Read)
  • aws-marketplace:GetAgreementTerms (List)
  • aws-marketplace:ListAgreementApprovalRequests (List)
  • aws-marketplace:ListAgreementRequests (List)
  • aws-marketplace:ListChangeSets (List)
  • aws-marketplace:ListEntities (List)
  • aws-marketplace:ListPrivateListings (List)
  • aws-marketplace:ListTagsForResource (Read)
  • aws-marketplace:SearchAgreements (List)
  • aws-marketplace:ViewSubscriptions (List)
Data Exchange: 15 actions
  • dataexchange:GetAsset (Read)
  • dataexchange:GetDataGrant (Read)
  • dataexchange:GetDataSet (Read)
  • dataexchange:GetEventAction (Read)
  • dataexchange:GetJob (Read)
  • dataexchange:GetReceivedDataGrant (Read)
  • dataexchange:GetRevision (Read)
  • dataexchange:ListDataGrants (List)
  • dataexchange:ListDataSetRevisions (List)
  • dataexchange:ListDataSets (List)
  • dataexchange:ListEventActions (List)
  • dataexchange:ListJobs (List)
  • dataexchange:ListReceivedDataGrants (List)
  • dataexchange:ListRevisionAssets (List)
  • dataexchange:ListTagsForResource (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: all-resources.

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

Why this tier

  • Grants only List and Read actions.

Guidance

Practical scope

Two Allow statements on Resource "*". The first allows 15 dataexchange: Get and List actions, including GetAsset, GetDataSet, GetJob, GetRevision, GetDataGrant, GetReceivedDataGrant, ListDataSets, ListDataGrants, ListReceivedDataGrants, ListRevisionAssets and ListTagsForResource. The second allows 13 aws-marketplace: actions such as ViewSubscriptions, SearchAgreements, GetAgreementTerms, GetAgreementRequest, ListAgreementRequests, GetAgreementApprovalRequest, ListAgreementApprovalRequests, DescribeEntity, ListEntities, DescribeChangeSet, ListChangeSets, ListPrivateListings and ListTagsForResource.

Use cases

  • Give users read-only access to AWS Data Exchange data sets, revisions, assets, jobs and data grants, and to related AWS Marketplace subscriptions and agreements, without the ability to change them.

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 AWS Data Exchange User Guide recommends reducing permissions further with customer managed policies specific to your use cases.

Security considerations

  • The policy allows only Get, List, Describe, Search and View actions, but on all resources, including data set assets (dataexchange:GetAsset) and agreement terms (aws-marketplace:GetAgreementTerms).
  • 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 users, groups and roles. The reference page also links to guidance on creating a permission set using AWS managed policies in IAM Identity Center. It fits where read-only AWS Data Exchange access is intended.

Same service

Same domain

Frequently asked questions

When should I attach AWSDataExchangeReadOnly?
The AWS Data Exchange User Guide says it grants read-only access to AWS Data Exchange and AWS Marketplace actions using the AWS Management Console and SDK. Attach it to users, groups or roles that should view but not change Data Exchange resources.
What does AWSDataExchangeReadOnly grant?
It allows dataexchange: get and list actions for assets, data sets, revisions, jobs, event actions, data grants and tags, and aws-marketplace: view, get, list, describe and search actions for subscriptions, agreements, entities, change sets and private listings, all on all resources.
What are the security risks of AWSDataExchangeReadOnly?
The policy has no write actions, but its read actions 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": [
    {
      "Sid": "DataExchangeReadOnlyActions",
      "Effect": "Allow",
      "Action": [
        "dataexchange:GetAsset",
        "dataexchange:GetDataSet",
        "dataexchange:GetEventAction",
        "dataexchange:GetJob",
        "dataexchange:GetRevision",
        "dataexchange:GetDataGrant",
        "dataexchange:GetReceivedDataGrant",
        "dataexchange:ListDataGrants",
        "dataexchange:ListReceivedDataGrants",
        "dataexchange:ListDataSetRevisions",
        "dataexchange:ListDataSets",
        "dataexchange:ListEventActions",
        "dataexchange:ListJobs",
        "dataexchange:ListRevisionAssets",
        "dataexchange:ListTagsForResource"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AWSMarketplaceReadOnlyActions",
      "Effect": "Allow",
      "Action": [
        "aws-marketplace:ViewSubscriptions",
        "aws-marketplace:GetAgreementRequest",
        "aws-marketplace:ListAgreementRequests",
        "aws-marketplace:GetAgreementApprovalRequest",
        "aws-marketplace:ListAgreementApprovalRequests",
        "aws-marketplace:DescribeEntity",
        "aws-marketplace:ListEntities",
        "aws-marketplace:DescribeChangeSet",
        "aws-marketplace:ListChangeSets",
        "aws-marketplace:SearchAgreements",
        "aws-marketplace:GetAgreementTerms",
        "aws-marketplace:ListPrivateListings",
        "aws-marketplace:ListTagsForResource"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v4, edited by AWS on 2024-10-24. 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/AWSDataExchangeReadOnly
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSDataExchangeReadOnly
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSDataExchangeReadOnly

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources