Answer: You authenticate by exchanging your app secret for a token using authenticate() (auto-called if appName is set), or by manually setting an auth token on HTTP and WebSocket with setToken(token). Status: Confirmed Entry: tool/kiro/permissions-and-security/gateway-api-authentication Revision: 2 Digest: sha256:714f14774fac4dde (changes whenever the content changes) Timeline: Created: 2026-11-13T03:37:45Z Last changed: 2026-11-17T13:43:12Z (manual token method: — → setToken(token)) Last verified: 2026-11-20T13:21:56Z Next check: 2026-11-21T13:21:56Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of authentication method | authenticate() | [1] | 2026-11-20 manual token method | setToken(token) | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "SDK / API reference - Apps - Crew - Docs - Kiro". https://kiro.dev/docs/crew/apps/sdk/ Role: primary. Accessed: 2026-11-20T13:21:56Z Quote: "authenticate() authenticate() Exchange app secret for token (auto-called if appName set)" (Supports: authentication method) Quote: "setToken(token) set_token(token) Manually set auth token on HTTP and WebSocket" (Supports: manual token method) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 59ca9d19d6b7fe3696c40720f21729d48982767bfaef241aad305f115edf003d (captured 2026-11-20T13:21:56Z) 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:21:56Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:21:56Z Last attempt: 2026-11-20T13:21:56Z Notes and limitations: Extracted automatically from a single official source (section "Authentication"). Related: https://latestn.com/tool/kiro/permissions-and-security/github-permissions What permissions does Kiro need for GitHub access? https://latestn.com/tool/kiro/permissions-and-security/gitlab-token-permissions What permissions or token scopes does Kiro need for GitLab access? https://latestn.com/tool/kiro/permissions-and-security/govcloud-model-authorization How do I get model authorization for Kiro in AWS GovCloud (US)? https://latestn.com/tool/kiro/permissions-and-security/discord-allowlist How does the deny-by-default allowlist work for Kiro Crew on Discord? https://latestn.com/tool/kiro/permissions-and-security/discord-tool-approval How do I approve tool use when Kiro Crew runs in Discord? https://latestn.com/tool/kiro/permissions-and-security/enable-and-use-sandbox How do I enable and configure the Kiro local command sandbox? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T13:43:12Z | changed | manual token method: — → setToken(token) | [1] 2026-11-17T13:43:12Z | changed | authentication method: — → authenticate() | [1] 2026-11-17T13:43:12Z | changed | Authentication method: authenticate() → — | [1] 2026-11-13T03:37:45Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/permissions-and-security/gateway-api-authentication/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/permissions-and-security/gateway-api-authentication POST: https://latestn.com/dispute/tool/kiro/permissions-and-security/gateway-api-authentication with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/permissions-and-security/gateway-api-authentication?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I authenticate to the Kiro Crew Gateway API? Revision 2, last verified 2026-11-20T13:21:56Z. https://latestn.com/tool/kiro/permissions-and-security/gateway-api-authentication (accessed 2026-11-21T10:01:40Z). @misc{LatestN_tool_kiro_permissions_and_security_gateway_api_authentication_r2, title = {How do I authenticate to the Kiro Crew Gateway API?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/permissions-and-security/gateway-api-authentication}}, note = {Revision 2; digest sha256:714f14774fac4dde; last verified 2026-11-20T13:21:56Z; accessed 2026-11-21T10:01:40Z} } 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/permissions-and-security/gateway-api-authentication