Skip to main content

Error reference

Tenant KMS endpoints return errors in one of two shapes. The onboard and probe failures return a human-readable message in error (with an optional details field):
The unseal and rotate endpoints return a machine-readable code in error plus a message:
This table is non-exhaustive — it lists the common failures. Validation errors (missing provider, kms_key_ref, malformed config) also return 400 with a descriptive error message.

Onboard / probe failures (POST /admin/tenant-kms)

These return { error: "<message>", details?: "<string>" }.

Step-up required (POST /admin/tenant-kms/unseal, POST /admin/tenant-kms/rotate)

These endpoints require a recent step-up verification. When one is missing or expired:

Unseal / rotate failures

These return { error: "<code>", message: "<string>" }.