Skip to content

feat(coderd/database): add AI Gateway key auth lookup and last-used queries#26505

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

feat(coderd/database): add AI Gateway key auth lookup and last-used queries#26505
pawbana wants to merge 1 commit into
mainfrom
pawel/aigov-308-implement-apiv2aibridgeserve-endpoint-1

Conversation

@pawbana

@pawbana pawbana commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

…ueries

Add GetAIGatewayKeyByHashedSecret for authenticating standalone AI
Gateway replicas, and UpdateAIGatewayKeyLastUsedAt to record liveness
for active DRPC sessions. The last-used write is an internal system
operation authorized against ResourceSystem, keeping AI Gateway keys
immutable from a user's perspective.

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

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