Configure AWS IAM Identity Center for AI agent imports
To import AI agents from AWS IAM Identity Center, you need to create a permission policy that allows Okta to retrieve the app's AI agents. Then you need to apply that permission policy to your IAM user.
Note:
This user is an IAM user, created in the AWS IAM console. It isn't an AWS IAM Identity Center user.
After you've completed these configurations, follow the steps in Enable AI agent imports for an app.
Create a permission policy
- Sign in to the AWS Management Console and open the IAM console. Don't use IAM Identity Center.
- Select .
- Set the username to
okta-ai-agent-import. The user doesn't need access to the AWS Management Console. - Select the user that you created in the previous step and click Permissions.
- Click Add inline policy.
- Go to the JSON tab.
- To configure the permission policy for both Amazon Bedrock Agent Classic and Amazon Bedrock
AgentCore, enter the following text:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "OktaAIAgentImport", "Effect": "Allow", "Action": [ "sts:GetCallerIdentity", "bedrock:GetAgent", "bedrock:ListAgents", "bedrock-agentcore:ListAgentRuntimes", "bedrock-agentcore:GetAgentRuntime" ], "Resource": "*" } ] } - To configure the permission policy for only Amazon Bedrock Agent Classic, enter the following text:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "OktaAIAgentImport", "Effect": "Allow", "Action": [ "sts:GetCallerIdentity", "bedrock:GetAgent", "bedrock:ListAgents" ], "Resource": "*" } ] } - To configure the permission policy for only AWS Bedrock AgentCore, enter the following text:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "OktaAIAgentImport", "Effect": "Allow", "Action": [ "sts:GetCallerIdentity", "bedrock-agentcore:ListAgentRuntimes", "bedrock-agentcore:GetAgentRuntime" ], "Resource": "*" } ] }
- To configure the permission policy for both Amazon Bedrock Agent Classic and Amazon Bedrock
AgentCore, enter the following text:
Generate an access key and secret access key
- In the IAM console, open the user that you created in the previous section.
- Select .
- Copy the access key and secret access key and store them safely.