Authentication

August 4, 2026 ยท View on GitHub

Source: https://kiro.dev/docs/cli/authentication/

Providers: GitHub, Google, AWS Builder ID, AWS IAM Identity Center, external IdP (Entra ID, Okta).

Sign in

kiro-cli          # or kiro-cli login

Opens browser for authentication.

Remote machine sign-in

Builder ID / IAM Identity Center: device code auth โ€” CLI shows URL + code for local browser.

Social login (Google/GitHub): requires SSH port forwarding:

# 1. Run kiro-cli login on remote, note the port (e.g. 49153)
# 2. On local machine:
ssh -L 49153:localhost:49153 -N user@remote-host
# 3. Press Enter in CLI, open URL in local browser

Sign out

kiro-cli logout