Skip to main content
An AWS connection authenticates Infisical to your AWS account, either by assuming an IAM role or with an IAM user’s access keys.
This guide doesn’t configure any behavior—it just authenticates Infisical with AWS. Once the app connection is ready, you can use it to set up integrations.

Prerequisites

  • An AWS account where you can create IAM roles or users and attach policies to them

Step 1: Create an IAM role or IAM user

Infisical can either assume an IAM role in your account or sign in as an IAM user with an access key. We recommend using an IAM role, since Infisical never holds a long-lived credential for it.

Step 2: Add permissions

Next, add the required policies to the IAM role or user from Step 1:
1
In the IAM console, open the IAM role or user.
2
On the Permissions tab, select Add permissions > Create inline policy.IAM Role Create Policy
3
Switch to the JSON editor, and replace the policy in the editor with this one. It combines the permissions of every integration you picked:
4
Select Next. Enter a Policy name that says which integrations the policy covers, such as secrets-manager-sync. Then, select Create policy. The policy belongs to the role or user, which already names Infisical, so the policy name only has to say what the policy grants.

Step 3: Create the app connection

Next, create the app connection in Infisical.
To create the connection using the API, use the Create AWS Connection endpoint.
1
In the sidebar, select Integrations, then open the App Connections tab.App Connections Tab
2
Select Add Connection and choose AWS.Select AWS Connection
3
Fill out the form’s fields:
Then, select Connect to AWS.AWS Connection Form
When you select Connect to AWS, Infisical checks the credentials. For Assume Role, it assumes the role, so the role’s trust policy has to name the right AWS account and External ID. For Access Key, it signs in with the access key. Infisical doesn’t check the permissions from Step 2 until an integration uses them.
Your AWS app connection is ready to use.

Step 4: Configure integrations

Now that your AWS app connection is configured, you can use it to set up the following integrations: