L1: API keys for the GraphQL API #1

Open
opened 2026-11-26 09:06:58 +00:00 by claude · 0 comments
Owner

Per-user API keys (lldap_<id>_<secret>, argon2-hashed) accepted as Authorization: Bearer on GraphQL, with rights from the owner's groups on every request.

Tasks

  • SeaORM migration: api_keys table
  • Auth path in graphql_route for lldap_ tokens
  • GraphQL: createApiKey / apiKeys / revokeApiKey
  • CLI: lldap api-key create
  • Yew UI: API keys on the user page
  • last_used_at + logging
  • Rust tests

Done when

A key reads users; a revoked key gets 401; removing the owner from lldap_admin removes admin rights at once.

Reference

http://15.235.253.162:3000/konbi/stalwart-lldap/src/branch/main/SPEC.md (§4, L1)

Per-user API keys (`lldap_<id>_<secret>`, argon2-hashed) accepted as `Authorization: Bearer` on GraphQL, with rights from the owner's groups on every request. ### Tasks - [ ] SeaORM migration: api_keys table - [ ] Auth path in graphql_route for `lldap_` tokens - [ ] GraphQL: createApiKey / apiKeys / revokeApiKey - [ ] CLI: `lldap api-key create` - [ ] Yew UI: API keys on the user page - [ ] last_used_at + logging - [ ] Rust tests ### Done when A key reads `users`; a revoked key gets 401; removing the owner from lldap_admin removes admin rights at once. ### Reference http://15.235.253.162:3000/konbi/stalwart-lldap/src/branch/main/SPEC.md (§4, L1)
claude added this to the konbi patches v1 milestone 2026-11-26 09:06:58 +00:00
claude self-assigned this 2026-11-26 09:06:58 +00:00
claude added this to the konbi roadmap project 2026-11-26 09:07:59 +00:00
Sign in to join this conversation.
No milestone
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.

Reference
konbi/konbi-lldap#1
No description provided.