Skip to content

feat: admin key commands - #427

Merged
hamzakargin merged 3 commits into
mainfrom
feat/admin-keys
Nov 25, 2026
Merged

hamzakargin merged 3 commits into
mainfrom
feat/admin-keys

Conversation

@hamzakargin

Copy link
Copy Markdown
Member

API key create, revoke and list over the admin socket and bunzzle admin.

  • key create <tenant> <scopes> [pool <id>]: scopes are a comma list of smtp, api, hooks. The secret is in the reply only, never in logs.
  • key revoke <tenant> <id>: a missing key, another tenant's key and a key of an older tenant generation all answer the same not found.
  • key list <tenant> [from <id>]: id, scopes, pool and generation of the current generation's keys, paged with more from <id>. Never shows hashes.
  • Missing or deleted tenants answer not found; create on a suspended tenant is refused.
  • The admin server wipes each reply's buffers after writing it.

Closes #418

@hamzakargin
hamzakargin enabled auto-merge (squash) November 25, 2026 06:29
@hamzakargin
hamzakargin merged commit d4f55c0 into main Nov 25, 2026
7 checks passed
@hamzakargin
hamzakargin deleted the feat/admin-keys branch November 25, 2026 06:34
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.

Admin API key create and revoke

1 participant