Class SigningKeysController

Assembly: redb.Identity.Management.dll

Admin signing-key lifecycle endpoint. Forwards to
direct-vm://identity-manage-signing-keys.

[Route("signing-keys")]
public class SigningKeysController : IdentityControllerBase

Inheritance

Object→RedbController→IdentityControllerBase→SigningKeysController

Inherited Members

Methods

List()

[HttpGet(null)]
public Task<object?> List()

Retire(string)

[HttpDelete("{kid}")]
public Task<object?> Retire(string kid)

Rotate(RotateSigningKeyRequest?)

[HttpPost("rotate")]
public Task<object?> Rotate(RotateSigningKeyRequest? request)

Remarks

Routes:
GET /signing-keys — list every key row (active + retired, full audit trail).POST /signing-keys/rotate — mint a fresh active key, demote previously-active
keys of the same kind. Body: (omit to rotate the default
"signing" kind).DELETE /signing-keys/{kid} — retire (set NotAfter=now) so the key drops out of
the live JWKS on the next request and tokens signed under it stop validating.
Gated by identity:applications.manage (or master identity:manage) — signing-key
rotation is an application-layer concern from a least-privilege standpoint.