Skip to main content
This page sets up an Amazon S3 connection that authenticates as an IAM user with an access key.

Before you begin

  • Permission to create IAM users and access keys in AWS.
  • Permission to edit the bucket policy of the S3 bucket.
  • Permission to add data connections in Datafold.
The examples use an IAM user named datafold. You can choose another name. Replace <DATAFOLD_USER_ARN> and <BUCKET_NAME> with your values.

Set up Amazon S3

1

Create an IAM user

  1. In the AWS Console, open the IAM service.
  2. Under Access Management, click Users, then Create user.
  3. Name the user datafold. Don’t attach a managed policy. The bucket policy in the next step is enough.
  4. Copy the user’s ARN. You need it in the next step.
2

Grant the user access to the bucket

  1. In the S3 console, select the bucket and open the Permissions tab.
  2. Next to Bucket Policy, click Edit.
  3. Add this policy:
s3:ListBucket and s3:GetObject give Datafold read access. s3:PutObject is only needed if Datafold writes diff results to this bucket. Remove it otherwise.
3

Create an access key

  1. In IAM, click Users, then the datafold user.
  2. Open the Security Credentials tab and click Create access key.
  3. Copy the access key ID and secret access key.

Network access

If your bucket only accepts connections from allowlisted IP addresses or is only reachable over a private network, see Securing connections for the options Datafold supports.

Add the connection in Datafold

Go to Settings → Integrations → Data Connections, click Add new integration and choose Amazon S3. Click Save.