Answer: Run kiro-cli login and select your sign-in method; the CLI displays a URL and a one-time code that you enter in any browser, and it detects the successful login automatically. Device flow is supported for Builder ID, IAM Identity Center, Google, and GitHub in remote environments, with no port forwarding required. Status: Confirmed Entry: tool/kiro/install-and-setup/cli-remote-device-flow Revision: 1 Digest: sha256:22fb5b7faf46fa4a (changes whenever the content changes) Timeline: Created: 2026-11-13T03:41:24Z Last changed: 2026-11-13T03:41:24Z Last verified: 2026-11-20T13:27:35Z Next check: 2026-11-21T13:27:35Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Command | kiro-cli login | [1] | 2026-11-20 Supported methods | Builder ID, IAM Identity Center, Google, and GitHub | [1] | 2026-11-20 Port forwarding | no port forwarding required | [1] | 2026-11-20 CLI output | a URL and a one-time code | [1] | 2026-11-20 Login detection | The CLI detects the successful login automatically. | [1] | 2026-11-20 IdP limitation | External identity provider (IdP) login is not currently supported with device flow authentication. | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Authentication - Get Started - Docs - Kiro". https://kiro.dev/docs/getting-started/authentication/ Role: primary. Accessed: 2026-11-20T13:27:36Z Quote: "Run kiro-cli login and select your sign-in method" (Supports: Command) Quote: "Builder ID, IAM Identity Center, Google, and GitHub support device flow authentication in remote environments." (Supports: Supported methods) Quote: "no port forwarding required" (Supports: Port forwarding) Quote: "The CLI displays a URL and a one-time code." (Supports: CLI output) Quote: "The CLI detects the successful login automatically." (Supports: Login detection) Quote: "External identity provider (IdP) login is not currently supported with device flow authentication." (Supports: IdP limitation) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: f64680dc3c01d633b8134e4c50ef1d74d554b875d77a4c5eebb8a688423d4307 (captured 2026-11-20T13:27:36Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:27:35Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:27:35Z Last attempt: 2026-11-20T13:27:35Z Notes and limitations: Extracted automatically from a single official source (section "Device flow"). Related: https://latestn.com/tool/kiro/install-and-setup/crew-install-prerequisites What are the prerequisites for installing Kiro Crew? https://latestn.com/tool/kiro/install-and-setup/crew-one-line-install How do I install Kiro Crew with a one-line install command? https://latestn.com/tool/kiro/install-and-setup/deploy-cognito-and-bootstrap-db How do I deploy the Cognito User Pool and bootstrap the database for the Kiro game? https://latestn.com/tool/kiro/install-and-setup/app-prerequisites What are the prerequisites for building a Kiro Crew app? https://latestn.com/tool/kiro/install-and-setup/aws-setup What AWS setup is required for Kiro Crew Artifact Deploy? https://latestn.com/tool/kiro/install-and-setup/check-cli-version How do I check which version of Kiro CLI I have installed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:41:24Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/install-and-setup/cli-remote-device-flow/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/install-and-setup/cli-remote-device-flow POST: https://latestn.com/dispute/tool/kiro/install-and-setup/cli-remote-device-flow with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/install-and-setup/cli-remote-device-flow?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I authenticate Kiro CLI on a remote machine using device flow? Revision 1, last verified 2026-11-20T13:27:35Z. https://latestn.com/tool/kiro/install-and-setup/cli-remote-device-flow (accessed 2026-11-21T10:00:20Z). @misc{LatestN_tool_kiro_install_and_setup_cli_remote_device_flow_r1, title = {How do I authenticate Kiro CLI on a remote machine using device flow?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/install-and-setup/cli-remote-device-flow}}, note = {Revision 1; digest sha256:22fb5b7faf46fa4a; last verified 2026-11-20T13:27:35Z; accessed 2026-11-21T10:00:20Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/install-and-setup/cli-remote-device-flow