Loading image...Kiro

Product

  • About Kiro
  • Agents
  • IDE
  • CLI
  • Web
  • Mobile
  • Crew
  • Pricing
  • Downloads

For

  • Enterprise
  • Startups
  • Students

Community

  • Overview
  • Ambassadors
  • Case studies
  • Discord
  • Events
  • Powers
  • Shop
  • Showcase

Resources

  • Docs
  • Blog
  • Changelog
  • FAQs
  • Videos
  • Report a bug
  • Suggest an idea
  • Billing support

Social

Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences
Kiro
  • Agents
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Kiro

Get Started

InstallationAuthenticationYour first project

Models

OverviewAvailable modelsReasoning effortAWS GovCloud (US) models

Features

How Kiro worksLocal command sandboxACP integrations
Specs
Steering
Hooks
MCP
Permissions
Custom agents
Workflows
Agent Skills
Powers
Cloud sessionsMemoryCompactionKiroignoreCheckpoints and rewind
Built-in tools
Configuration scopes

IDE 1.x

What's new in 1.0
Setup & First Run
Editor
Chat
Experimental
Troubleshooting0.x reference

CLI

Setup & First RunChoose an agent harness
Terminal UI
Chat
Fullscreen modeVoice modeHeadless modeACPAuto complete
Experimental
Troubleshooting
Upgrade from CLI 2.x
2.x reference

Crew

Quick startInstallationRunning 24/7
Chat
Agent Capabilities
Features
Interfaces
Apps
System & storageConfigurationSecurityTroubleshooting

Web

Setup & First RunIdentity Center
Connect your repositories
Working with the agent
Autonomous modeScheduleConfiguration Sync
Sandbox

Mobile - Preview

Overview

Commands and Reference

CLI commandsSlash commandsBuilt-in toolsExit codesSettings

Billing

OverviewManaging your subscriptionUpgrading your planDowngrading your planCancelling your planPurchasing add-on creditsManaging your paymentsManaging usage notificationsManaging your taxesContacting billing supportDeleting your accountRelated questions

Enterprise

ConceptsOnboarding quickstart
Connecting your identity provider
Deployment optionsSubscribe your teamManage subscriptions
Credit pooling
Governance
Monitor and track
SettingsManaged updatesTLS inspection compatibilityBillingIAMSupported regions
AWS GovCloud (US)

Privacy and Security

OverviewData protectionCode referencesCompliance validationInfrastructure securityIAM permissionsFirewalls, proxies, and data perimetersVPC endpoints (AWS PrivateLink)

Guides

OverviewRunning Kiro in the cloud
Language support
Learn by playing

Migration

Migrating from Q DeveloperMigrating from VSCodeUpgrading from Q CLI
  1. Docs
  2. Get Started
  3. Authentication
View as Markdown

Authentication

View as Markdown

Kiro supports several authentication providers across all surfaces:

ProviderIDECLIWebMobile
GitHub✓✓✓✓
Google✓✓✓✓
AWS Builder ID✓✓✓✓
AWS IAM Identity Center✓✓✓✓
External identity provider✓✓✓✓
API key (CI/headless)✓
Info

Users with a paid Kiro subscription who access it through a social login provider (like GitHub or Google) or through AWS Builder ID are considered individual subscribers. We may use certain content from Kiro Free Tier and Kiro individual subscribers for service improvement. For more information on service improvement and how to opt out, see Service improvement.

Sign in to Kiro

The providers work the same way everywhere, and sign-in completes in the browser:

  • GitHub, Google, and AWS Builder ID — choose the provider, authenticate in your browser, and authorize the Kiro app (on GitHub, the app to authorize appears as kirodotdev).
  • Your organization - If your Kiro account is managed by an admin, choose Your organization. You can use either AWS IAM Identity Center or an external Identity Provider such as Okta or Microsoft Entra ID:
    • AWS IAM Identity Center — you'll need the Start URL and the AWS Region that hosts your identity directory, provided by your admin.
    • External identity provider — enter your work email or the Kiro Start URL provided by your admin. This is also the path for AWS GovCloud (US) regions.

How you launch the flow differs per surface:

  1. On the welcome screen, choose your sign-in. Kiro redirects to your default web browser to complete the sign-in process.
  2. In your browser, choose your provider and authenticate.
  3. After you authenticate, you receive a message in your browser directing you back to your IDE, where you're signed in.

Reconnect after your session expires (IDE)

When a session you signed in to with AWS IAM Identity Center or AWS Builder ID expires, Kiro IDE shows Your Kiro session expired. Reconnect to followed by your Start URL or AWS Builder ID. Select Reconnect to sign in again with the same connection. You do not choose a sign-in method or re-enter the Start URL and AWS Region; you only complete the browser step.

  • When the reconnect succeeds, the IDE shows Reconnected to Kiro.
  • When it fails, the IDE shows We could not reconnect to Kiro. Please sign in again. with a Sign in button that starts a normal sign-in. If your administrator does not allow that sign-in method, the IDE shows your administrator's sign-in policy message in place of the generic text.
  • If you dismiss the prompt or cancel in the browser, you stay signed out until you sign in again.

Kiro offers to reconnect only after an IAM Identity Center or AWS Builder ID sign-in. GitHub, Google, and external identity provider sign-ins do not get this prompt, and signing in with one of them clears any remembered IAM Identity Center or AWS Builder ID connection. Running Kiro: Sign Out also clears it, so no reconnect prompt appears after you sign out on purpose.

Remote machine authentication (CLI)

When running Kiro CLI on a remote machine (via SSH, SSM, containers, etc.), authentication works differently since the remote machine cannot open a browser.

Device flow

Builder ID, IAM Identity Center, Google, and GitHub support device flow authentication in remote environments. The CLI displays a URL and a one-time code that you enter in any browser - no port forwarding required.

Info

External identity provider (IdP) login is not currently supported with device flow authentication.

Your organization can turn off device flow sign-in for a Kiro profile. The CLI hides that profile during device flow login and profile switching. If no available profile remains, run kiro-cli login on a machine that can complete browser sign-in. Browser sign-in is not affected.

  1. Run kiro-cli login and select your sign-in method (for example, Use with Builder ID, Use with Google, Use with GitHub, or Use with Your Organization).
  2. The CLI displays a URL and a one-time code.
  3. Open the URL in any browser (on your local machine, phone, or another device).
  4. Enter the code and complete authentication.
  5. The CLI detects the successful login automatically.

API key authentication (CLI)

For CI/CD pipelines and automation scripts, you can authenticate using an API key instead of interactive sign-in.

Info

API key based authentication is only available for Kiro Pro, Pro+, Pro Max, and Power subscribers. If you are using a subscription managed by an administrator, your Kiro admin needs to enable API key authentication first. See API key governance.

Generate an API key

  1. Sign in to app.kiro.dev with your Kiro Pro, Pro+, Pro Max, or Power account.
  2. Navigate to the API Keys section.
  3. Create a new API key and copy it. The full key value is only shown at creation time. Set a meaningful name to remember the context of the key.
Warning

API keys are long-lived credentials. Store them securely and rotate them according to your organization's credential policy. If a key is compromised, revoke it immediately in the Kiro web console.

Use the API key

Set the KIRO_API_KEY environment variable and run Kiro CLI in non-interactive mode:

bash
export KIRO_API_KEY=ksk_xxxxxxxx kiro-cli chat --no-interactive "your prompt here"

On Windows:

powershell
$env:KIRO_API_KEY = "ksk_xxxxxxxx" kiro-cli chat --no-interactive "your prompt here"

API key authentication supports all Kiro CLI features available in non-interactive mode. For interactive sessions, use browser-based sign-in instead. For CI/CD pipelines, automation scripts, and detailed headless usage, see Headless mode.

Authentication precedence

When multiple credentials are available, Kiro CLI uses this precedence order:

  1. Active browser session (from kiro-cli login)
  2. KIRO_API_KEY environment variable
  3. No credentials - CLI prompts you to sign in

To check which authentication method is active, run kiro-cli whoami. Credits consumed using the API key are decremented from your subscription credits.

Connect GitHub (Web)

Connect your GitHub account to give the agent access to your repositories:

  1. Go to Settings > Integrations.
  2. Under GitHub, click Connect GitHub.
  3. Authorize the Kiro Agent GitHub app.
  4. Select which repositories the agent can access.

You must have write permissions on repositories for the agent to create branches and open pull requests.

How repository access works: Kiro Web shows all repositories where both conditions are met:

  1. Your GitHub user has access to the repository.
  2. The Kiro Agent GitHub app has been installed and authorized for that repository.

This means you see repositories from personal accounts, shared repositories, and organizations - as long as both your GitHub user and the Kiro Agent app have access.

See the GitHub integration guide for detailed setup instructions.

AWS GovCloud (US) regions

Info

The authentication methods supported in AWS GovCloud (US) regions are AWS IAM Identity Center and external identity providers. Social login methods such as GitHub, Google, and AWS Builder ID are not available in AWS GovCloud (US) regions.

To use Kiro with AWS GovCloud (US):

  • Ensure the Start URL used during authentication contains "us-gov-home", for example: https://start.us-gov-home.awsapps.com/directory/d-XXXXXXXXXX
  • Kiro uses the same download/installer for both commercial and AWS GovCloud (US) regions. IAM Identity Center authentication automatically routes traffic to the appropriate AWS GovCloud (US) region.
  • Kiro IDE version 0.9.2+ and Kiro CLI version 1.25.0+ are required for AWS GovCloud (US) regions support.
  • Administrators can also connect a custom OIDC provider; users of such a profile are subscribed at first sign-in.

Sign out

To sign out of Kiro IDE, open the command palette and run Kiro: Sign Out. To learn how signing out affects reconnecting, see Reconnect after your session expires.

Troubleshooting

If you encounter problems during the authentication process, such as browser redirect failures or sign-in errors, check the troubleshooting guide for platform-specific solutions and common fixes.

Next steps

  • Set up your first project
  • Explore privacy and data protection
  • Configure enterprise identity providers
Page updated: October 29, 2026
Installation
Your first project