Welcome to the Alteryx Knowledge Base

Configure S3 Tool for Assume Role
user

Created/Edited - 3/21/2026 by Michael Phipps | Alteryx

How To

Configure the S3 with Assume Role

 

Environment
  • Server / Designer 2025.2
    • DCM
  • Amazon S3 Tool
    • IAM Access Keys
    • Assume Role

 

Prerequisites

S3 permissions for the role: once AssumeRole succeeds, the role must have S3 permissions for the bucket(s) you need:

  • For reading: s3:GetObject, s3:ListBucket (on bucket resource).

  • For writing: s3:PutObject, etcetera**

 

The role has been tested and verified to work with a successful response from the Designer machine to AWS can be done using AWS CLI :

aws sts assume-role --role-arn arn:aws:iam::***:role/***/*** --role-session-name test-session
  • AWS Documentation
  • The CLI will return a clearer error message (AccessDenied, Not authorized to perform sts:AssumeRole, or The trust relationship is not valid, etc.). Use that message to pinpoint whether it’s trust-policy or caller-permission. Otherwise, on success, it will return a confirmation in the form of JSON for the role with AccessKey details, Session Token, Expiration timestamp

Additional Requirements:

  • From the caller side (the IAM user/keys you put in DCM): ensure they have sts:AssumeRole:

  • On the target role, check the trust policy (very common problem). The role's trust policy must include the principal that will assume it. If the caller is an IAM user in account XYZ, the trust policy (on the role in account ABC) should include that principal. Example trust policy allowing an IAM user/role from an external account:

 

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": { "AWS": "arn:aws:iam::123456789012:role/AlteryxCallerRole" },
      "Action": "sts:AssumeRole",
      "Condition": {}
    }
  ]
}
Procedure

The connection can be setup in DCM, from either Designer or Server UI -- it only needs to be done once from either location, then synced to the other machine(s).

Note, the AWS S3 URL can be set one of three different ways:

  1. DEFAULT
    • Global endpoint s3.amazonaws.com ; if the bucket is located in a different region than us-east-1 it may not necessarily redirect to the correct region, then use method #2 or #3 below
  2. https://{bucketName}.s3.{region}.amazonaws.com/
    • Explicitly set bucket and region
    • If the bucket is set in the URL to connect, the Amazon S3 Tool will not require this field to be set by the user to connect
  3. https://s3.{region}.amazonaws.com/
    • Explicitly set region only

 

Setup from Server UI:

Go to Home > DCM Connection > "+ New" > Amazon S3

 

Ensure Credentials> Authentication Method, has been selected for "AWS Assume Role" option

The completed connection setup should look like the following, where the S3 URL is set for an explicit BUCKET and endpoint (eg. not using default, and forcing a specific bucket)

 

Setup from Designer

File > Manage Connections > > "+ New" > Amazon S3

 

Ensure the AWS Assume Role was selected for Credentials, and AWS Account Number along with Role Name were supplied into the DCM fields (similar to the Server UI steps above)

 

 

Additional Information
Was this article helpful?