Skip to content

Unable to generate API key when using External IdP (Azure AD) #8414

Description

@ametdoohan

Kiro Product

IDE

Feature Description

Description:

Problem

I cannot generate a Kiro API key because the Kiro web portal (app.kiro.dev) does not support my authentication setup.

My Configuration

  • Kiro Profile: Subscribed via AWS Amazon Q (us-east-1)
  • Identity Management: External IdP (Microsoft Entra ID / Azure AD) with SCIM provisioning
  • IAM Identity Center region: ap-southeast-3 (Jakarta) on different account but same orgs not supported by app.kiro.dev
  • API Keys setting: Enabled by admin in Kiro console

Steps to Reproduce

  1. Admin enables "API keys" toggle in Kiro console Settings → Kiro settings ✅
  2. User goes to app.kiro.dev/signin
  3. Clicks "Your organization"
  4. Portal shows "Sign in with AWS IAM Identity Center" — requires Start URL and Region
  5. My IAM Identity Center is in ap-southeast-3 which is not a supported region
  6. There is no option to sign in with direct External IdP (Azure AD/Entra ID)

Expected Behavior

Users authenticated via External IdP should be able to sign in to app.kiro.dev and generate API keys, either by:

  • Supporting direct External IdP login on the portal, OR
  • Supporting all AWS regions for IAM Identity Center login, OR
  • Providing an alternative way to generate API keys (e.g., via Kiro IDE or CLI)

Impact

  • Cannot use Kiro CLI in headless/CI/CD mode (requires API key)
  • No workaround available without creating a new IAM Identity Center instance in a different region

Environment

  • Kiro IDE version: latest
  • OS: macOS

Use Case

We use Kiro CLI in our CI/CD pipelines to run automated code reviews and generate code via headless mode (kiro-cli chat --no-interactive). This requires API key authentication (KIRO_API_KEY) since there is no browser available in CI/CD environments.

Our organization uses Microsoft Entra ID (Azure AD) as our identity provider, federated directly with Kiro via External IdP configuration. Our AWS IAM Identity Center is in ap-southeast-3 (Jakarta), which is not supported by the Kiro web portal for sign-in.

Without the ability to generate an API key, we cannot:

  1. Integrate Kiro CLI into our GitHub Actions / CI/CD workflows
  2. Run automated code generation or review tasks in non-interactive environments
  3. Use headless mode for batch processing or scripting

We need either portal access for External IdP users or an alternative method to generate API keys (e.g., via AWS CLI, Kiro IDE, or admin-generated keys).

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions