Skip to main content
POST
Rotar certificado ICP-Brasil

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string

Idempotency key (primary).

X-Idempotency-Key
string

Idempotency key (legacy alias for X-Idempotency).

X-TTL
string

Idempotency key TTL in seconds (overrides the configured default).

Cuerpo

application/json
certificateRef
string
requerido

Operator-supplied reference to the new certificate material (filesystem path or secrets-manager URI), validated against the configured cert directory before any read.

Required string length: 1 - 2048
Ejemplo:

"/etc/lerian/certs/2026-q2/icp-brasil.crt"

privateKeyRef
string
requerido

Operator-supplied reference to the new private-key material (filesystem path or secrets-manager URI), validated against the configured cert directory before any read.

Required string length: 1 - 2048
Ejemplo:

"/etc/lerian/certs/2026-q2/icp-brasil.key"

reason
string

Optional operator rationale recorded in the audit evidence (max 512 chars).

Maximum string length: 512
Ejemplo:

"Quarterly rotation per ICP-Brasil policy"

Respuesta

OK

auditId
string<uuid>
requerido

UUID of the audit record written for this rotation.

Ejemplo:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

certificate
object
requerido

State of the certificate after the rotation hot-reload.

correlationId
string
requerido

Request-scoped correlation identifier echoing X-Request-ID, for pivoting from response to trace.

Ejemplo:

"req-7a3f9c2e"

readiness
object

Optional post-rotation readiness summary; omitted when readiness lookup is unavailable.