Prepare to run the Amazon S3 collector

  • Release version: Australia
  • Updated June 18, 2026
  • 1 minute to read
  • Create an AWS IAM user with the permissions required for the metadata collector to harvest metadata from Amazon S3 buckets and objects.

    Before you begin

    Role required: admin

    About this task

    The collector authenticates to Amazon S3 using either an AWS credentials file or an access key ID and secret access key. Complete the following steps to create a dedicated IAM user, assign the required permissions, obtain an access key, and set up a credentials file.

    Procedure

    1. Create an IAM user for running the collector.
      1. Log in to the AWS portal and navigate to the IAM service.
      2. Under Users, select Add users.
      3. Enter a name for the user and complete the user creation workflow.
    2. Assign the following permissions to the user.
      Table 1. Required IAM permissions for the Amazon S3 collector
      Permission AWS API Object cataloged using the permission
      s3:ListAllMyBuckets ListBuckets List of all buckets owned by the user
      s3:GetBucketLocation GetBucketLocation The region the bucket resides in
      s3:ListBucket ListObjectsV2Paginator The list of objects within included buckets
      s3:GetBucketVersioning GetBucketVersioning The versioning state of the bucket
      s3:GetBucketAcl GetBucketAcl The ACL (access control list) of the bucket
      s3:GetObjectAcl GetObjectAcl The ACL (access control list) of the object
      s3:GetObject HeadObject The metadata of an object
    3. Obtain an access key for the user.

      If you already have an access key for the user, skip this step. Detailed AWS documentation on this topic is available in the AWS Tools for PowerShell documentation.

      1. In the IAM service, under Users, select the user.
      2. On the Security credentials tab, select Create access key.
      3. Select Application running outside AWS, then select Next.
      4. Enter an optional description tag, then select Create access key.
      5. Copy the Access key ID and Secret access key values. You need these values when configuring the collector.
    4. Set up an AWS credentials file.

      If you already have the AWS CLI installed and a credentials profile file configured, skip this step.

      1. Install the AWS CLI. For details, see the AWS CLI installation documentation.
      2. From the command line, run aws configure.

        This command stores the credentials in ~/.aws/credentials.

    Result

    The IAM user has the permissions required to run the Amazon S3 metadata collector.

    What to do next

    Use these credentials when configuring the collector. See Create an Amazon S3 metadata collector.