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.

After you've completed these configurations, follow the steps in Enable AI agent imports for an app.

Create a permission policy

  1. Sign in to the AWS Management Console and open the IAM console. Don't use IAM Identity Center.
  2. Select Users > Create user.
  3. Set the username to okta-ai-agent-import. The user doesn't need access to the AWS Management Console.
  4. Select the user that you created in the previous step and click Permissions.
  5. Click Add inline policy.
  6. 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": "*"
          }
        ]
      }

Generate an access key and secret access key

  1. In the IAM console, open the user that you created in the previous section.
  2. Select Security credentials > Access keys > Create access key > Third-party service.
  3. Copy the access key and secret access key and store them safely.