Skip to content

Fix intermittent Kiro/Cursor auth by updating Kiro egress allow-list and SECRET_* API key fallback - #50565

Draft
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/aw-failures-fix-kiro-allow-list-again
Draft

Fix intermittent Kiro/Cursor auth by updating Kiro egress allow-list and SECRET_* API key fallback#50565
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/aw-failures-fix-kiro-allow-list-again

Conversation

Copilot AI commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Intermittent auth failures in Kiro/Cursor smoke runs were tied to two gaps: Kiro traffic to required AWS endpoints was still denied by firewall defaults, and harness scripts did not read the SECRET_* API key names used by the AWF entrypoint env sanitization.

  • Kiro network allow-list update

    • Added missing domains to Kiro network.defaults:
      • q.us-east-1.amazonaws.com
      • client-telemetry.us-east-1.amazonaws.com
  • Auth harness env fallback

    • Updated harness auth key resolution to support both original and entrypoint-renamed env vars:
      • Kiro: KIRO_API_KEY → fallback to SECRET_KIRO_API_KEY
      • Cursor: CURSOR_API_KEY → fallback to SECRET_CURSOR_API_KEY
  • Compiled workflow artifacts

    • Recompiled workflow markdown to regenerate lockfiles affected by these shared workflow changes (including Kiro/Cursor smoke workflows).
const apiKey =
  process.env.KIRO_API_KEY || process.env.SECRET_KIRO_API_KEY
// and similarly for Cursor:
// process.env.CURSOR_API_KEY || process.env.SECRET_CURSOR_API_KEY

Copilot AI changed the title [WIP] Fix Kiro allow-list for CLI authentication issues Fix intermittent Kiro/Cursor auth by updating Kiro egress allow-list and SECRET_* API key fallback Aug 5, 2026
Copilot AI requested a review from pelikhan August 5, 2026 13:37
@pelikhan

pelikhan commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

@copilot commit fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw-failures] Kiro/Cursor CLI auth fails intermittently — network allow-list gap + missing SECRET_ fallback

2 participants