Update S3 Bucket permission policy
  • 14 May 2024
  • 1 Minute to read

Update S3 Bucket permission policy


Article summary

In this Article

This article describes how to update S3 bucket permission policy.

Pre-requisites

  • Before proceeding with the below steps, make sure you have completed the steps mentioned in previous page.

  • SaaSify PSM will provide the following information as part of the configuration:

    JSON Template for Bucket Policy Statement

    Note:

    Ensure you have the above details provided by PSM.

Update S3 Bucket permission policy

  1. Navigate to S3 (https://s3.console.aws.amazon.com/s3/)

  2. Click on the bucket that is setup for the seller data feed

  3. Select the Permissions tab under the bucket that you have opened

  4. Under Bucket Policy, click on Edit

  5. Scroll down to the bucket policy page and click on +Add new statement

  6. Now append the following details under “Statement” section

    1. Replace <bucket name> with S3 bucket name configured as part of Set up customer data storage

    2. Replace <Trusted Role ARN> with the created SaaSifyRoleARN

    {
      "Sid": "allowdownload",
      "Effect": "Allow",
      "Principal": {
        "AWS": "<Trusted Role ARN>"
      },
      "Action": "*",
      "Resource": "arn:aws:s3:::<bucket name>/*"
    }

    Example:

    {
      "Sid": "allowdownload",
      "Effect": "Allow",
      "Principal": {
        "AWS": "arn:aws:iam::4xxx3xxx3xxx:role/AWSMarketplaceRoleForSaaSifyIntegration"
      },
      "Action": "*",
      "Resource": "arn:aws:s3:::sxxxxxxxx-datafeed-bucket/*"
    }
  7. After appending, the policy will look like as shown below:


Screenshot%2011

Screenshot%202

8.Once the statement is updated, click on Save Changes.

Next Step

  • Follow the steps in next page to create seller account in SaaSify & complete the integration with AWS Marketplace Portal.