Skip to content

feat(coderd/httpmw): add AI Gateway key auth middleware and proto version#26506

Draft
pawbana wants to merge 1 commit into
pawel/aigov-308-implement-apiv2aibridgeserve-endpoint-1from
pawel/aigov-308-implement-apiv2aibridgeserve-endpoint-2
Draft

feat(coderd/httpmw): add AI Gateway key auth middleware and proto version#26506
pawbana wants to merge 1 commit into
pawel/aigov-308-implement-apiv2aibridgeserve-endpoint-1from
pawel/aigov-308-implement-apiv2aibridgeserve-endpoint-2

Conversation

@pawbana

@pawbana pawbana commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

…sion

Add ExtractAIGatewayKeyAuthenticated, which authenticates standalone AI
Gateway replicas via the X-AI-Governance-Gateway-Key header, mirroring
the external provisioner daemon key flow. Also add the aibridged proto
CurrentVersion (1.0) for API compatibility negotiation, and the
X-AI-Governance-Gateway-Key header constant.

Part of AIGOV-308.

Generated with Coder Agents.
@linear-code

linear-code Bot commented Jun 18, 2026

Copy link
Copy Markdown

AIGOV-308

pawbana commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

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.

1 participant