- AWS
- GCP
- Azure
Porter uses AWS IAM role assumption via the
AssumeRole operation to access your account. You create a role in your AWS account and declare that you trust Porter to assume it. This eliminates static credentials and makes access easy to revoke.Create the IAM Role
Enter your AWS Account ID
After selecting AWS as your cloud provider, log into your AWS Console and find your 12-digit Account ID in the top-right corner.Enter this ID in Porter and click Grant Permissions.
Create the CloudFormation stack
Porter opens the AWS CloudFormation console in a new tab to create a stack that provisions the
porter-manager IAM role.Scroll to the bottom of the CloudFormation page, check the I acknowledge that AWS CloudFormation might create IAM resources box, and click Create Stack.Wait for the stack creation to complete (this takes a few minutes).The IAM role must remain in your AWS account for Porter to manage your infrastructure. Deleting it will prevent Porter from making changes.
Permissions Granted
The CloudFormation stack creates an IAM role with permissions to:- Create and manage EKS clusters
- Create and manage VPCs, subnets, and security groups
- Create and manage ECR repositories
- Create and manage IAM roles for cluster operations
- Request service quota increases
If you need Porter to operate with more restricted permissions, contact us through the support widget to inquire about Porter Enterprise.
Revoking Access
Disconnecting an AWS cloud account is a two-step process: Porter tears down the IAM roles and policies it created in your account, then you delete the customer-ownedporter-access-manager role that trusts Porter.Delete dependent resources
Before you can disconnect, delete any clusters, object storage, and environment groups that are still using this cloud account. The dashboard lists any remaining dependents and blocks the Delete button until they’re gone.
Disconnect from the Porter dashboard
Navigate to Cloud accounts, open the AWS account you want to remove, and scroll to the Danger zone. Click Delete, type the account name to confirm, then click Disconnect.Porter synchronously removes the IAM roles and policies it provisioned in your AWS account (including
porter-manager, porter-infra-manager, and related Porter-managed roles and policies). When the deletion finishes, the cloud account is gone from Porter and Porter can no longer assume any role in your AWS account.Delete the porter-access-manager role
The
porter-access-manager IAM role is owned by you — it was created by the CloudFormation stack and is not removed by Porter. After disconnecting, delete it yourself to fully revoke the trust relationship:- Open the AWS IAM console (the dashboard provides a direct link in the success dialog).
- Find the role named
porter-access-manager(ARN:arn:aws:iam::<your-account-id>:role/porter-access-manager). - Follow the AWS instructions for deleting an IAM role.
- Optionally, delete the CloudFormation stack that created it (typically named
PorterRole) from the CloudFormation console.
Disconnecting runs synchronously, so the dashboard reports success or failure immediately. If the call fails partway through, it’s safe to retry — teardown is idempotent.

