If you want to use the AWS console UI, follow the steps in Amazon’s Creating an IAM role (console) documentation. Make sure to select Another AWS account and enter the Account ID (auto gen id here) and select Require external ID and enter the External ID (external id here). Navigate to the role in the console UI and copy the ARN to use in Konnect.
- In the AWS console, navigate to the IAM settings.
- In the IAM sidebar, click Policies.
- Click Create policy.
- For the Policy editor settings, click JSON.
-
In the Policy editor field, enter the following:
{
"Version": "2012-10-17",
"Statement": [
{ "Sid": "ApiGwRead",
"Effect": "Allow",
"Action": ["apigateway:GET"],
"Resource": "*"
}
]
}
- Click Next.
- In the Policy name field, enter
konnect-service-catalog-permissions
.
- Click Create policy.
- In the IAM sidebar, click Roles.
- Click Create role.
- For the Trusted entity type, select AWS account.
- For the AWS account settings, select Another AWS account.
-
In the Account ID field, enter 333402130851
.
This is Konnect’s account ID that is used for the IAM role principal.
- Select the Require external ID checkbox.
- In the External ID field, enter your Konnect organization ID. You can find this by sending a GET request to
/organizations/me
or in the Konnect UI by navigating to your account in the top right and clicking the copy icon next to your organization name.
- Click Next.
- From the Permissions policies list, select konnect-service-catalog-permissions.
- Click Next.
- In the Role name field, enter
konnect-service-catalog-integration
.
- Click Create role.
View the konnect-service-catalog-integration
you just created and copy the ARN.