API keys: log key id on every key-authenticated request #72

Open
opened 2026-10-26 10:46:00 -04:00 by vmanne-poc · 0 comments
Owner

Follow-up to #29 (Phase 13.1, v0.15.1).

#29: "Every key use is attributable (key id appears in logs)."

Plan

  • Each request authenticated by an API key writes a structured log line with key id, key prefix, project id, method, route and status. Never the plain key.
  • Keep updating last-used time.

Done when

  • Test shows the key id (and not the key) appears in the log for a key request.
Follow-up to #29 (Phase 13.1, v0.15.1). #29: "Every key use is attributable (key id appears in logs)." **Plan** - Each request authenticated by an API key writes a structured log line with key id, key prefix, project id, method, route and status. Never the plain key. - Keep updating last-used time. **Done when** - Test shows the key id (and not the key) appears in the log for a key request.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vmanne-poc/Postak#72
No description provided.