hapi token list and hapi token revoke #83

Open
opened 2026-11-27 16:43:22 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

The Owner can find and clean up stale credentials. last_used_at is updated at most about once an hour. hapi token list shows every Token and flags those near expiry, those unused for 90 days, and non-expiring ones. hapi token revoke revokes any Token.

Acceptance criteria

  • last_used_at updates on use but no more than about hourly
  • hapi token list flags Tokens near expiry, unused for 90 days, and with no expiry
  • hapi token revoke <id> makes the Token fail with the standard 401
Part of #73 (spec: #72) ## What to build The Owner can find and clean up stale credentials. `last_used_at` is updated at most about once an hour. `hapi token list` shows every Token and flags those near expiry, those unused for 90 days, and non-expiring ones. `hapi token revoke` revokes any Token. ## Acceptance criteria - [ ] `last_used_at` updates on use but no more than about hourly - [ ] `hapi token list` flags Tokens near expiry, unused for 90 days, and with no expiry - [ ] `hapi token revoke <id>` makes the Token fail with the standard `401`
bobby added the ready-for-agent label 2026-11-27 16:43:22 -05:00
bobby added a new dependency 2026-11-27 16:43:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#83