Skip to main content

Enterprise Self-Hosted Deployment

On the Enterprise plan? See the Helm documentation for assumed role setup in self-hosted deployments.

Enable Outbound Web Identity Federation

This is a one-time setup step for your AWS account. Without it, all Claude Platform on AWS requests fail with "Outbound web identity federation is disabled for your account".

Select Assumed Role Authentication

Create a new integration on Portkey:
  1. Go to Model Catalog → Add Provider
  2. Select Claude Platform on AWS
  3. Choose AWS Assumed Role as the authentication method

Create an IAM Permission Policy

Create a permission policy in your AWS account. Claude Platform on AWS uses the aws-external-anthropic IAM namespace (not bedrock).

Inference-only policy

For workloads that only need chat completions and token counting:

Full access policy

For workloads that also need batch processing and file management:
To restrict access to a specific workspace and region, replace the Resource with:
Alternatively, attach one of the AWS-managed policies:

Create an IAM Role

  1. Open the IAM Console and go to Roles → Create role
  2. Choose AWS account as the trusted entity type
  3. Optionally set an external ID — copy it for later
  4. Attach the permission policy created above
  5. Name the role (e.g., portkey-claude-platform-role) and create it

Configure the Trust Relationship

Open the role, navigate to the Trust relationships tab, and click Edit trust policy. Add Portkey’s AWS account as a trusted principal:
Portkey Account ARN
This ARN is for the hosted Portkey app. For enterprise self-hosted deployments, refer to the Helm documentation.

Trust policy without external ID

Trust policy with external ID

Configure the Integration

Back in Portkey, enter the following in the Claude Platform on AWS integration modal: Save the integration. Portkey will assume the IAM role and sign requests with SigV4 using the aws-external-anthropic service name.

Verify the Setup

Test the integration with a simple request:
cURL

Troubleshooting

Last modified on May 25, 2026