Tearleads

GET/containers/{containerId}/kek-log

Page a container's KEK rotation log

Operation containers.kekLog.get

Description

Pages a container's append-only KEK rotation log: every epoch with its write-once predecessor bridge and retained wraps, plus the sealed keyring of one epoch the request names. Clients use it to rebuild or repair a damaged container KEK keyring. Any current reader of the container may page the whole log, because current read access includes retained history.

Authentication

Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.

Parameters

NameInTypeDetails
containerIdpathstringrequired
keyringForEpochqueryintegeroptional
  • 1 to 65,536
afterKeyEpochqueryintegeroptional
  • 1 to 65,536

Responses

200 OK

application/jsonContainerKekLogResponse

One page of a container's KEK rotation log, oldest epoch first.

3 fields
  • containerIdstringrequired
    • not empty
  • epochslist of ContainerKekLogEpochResponserequired
    • at most 256 items
  • hasMorebooleanrequired

    True when later epochs remain.

Other fields are allowed.

Other responses

StatusMeaningBody
400Bad Request

application/jsonErrorResponse

401Unauthorized

application/jsonSessionFailureResponse

403Forbidden

application/jsonErrorResponse

404Not Found

application/jsonErrorResponse

409Conflict

application/jsonErrorResponse

500Internal Server Error

application/jsonErrorResponse

503Service Unavailable

application/jsonErrorResponse

Additional rules

The server also enforces these rules, which the schema above cannot express.