Upload a complete Dataprev custody
Stores the tenant’s ICP-Brasil A1 certificate (PEM cert+key) and OAuth2 client_credentials secret together, in one audited transaction, at new secret references. It is the only write a revoked custody accepts: it closes the revocation and opens a new custody generation, and the revoked material is never used again. A body that carries a certificate or an OAuth client secret a revocation retired is refused with 409 DATAPREV_CREDENTIAL_REVOKED; the client id may stay, because Dataprev can regenerate the secret of the same client, so a recustody after a revocation carries a client secret newly generated at Dataprev. On a custody that was not revoked it replaces both at once. The response NEVER carries secret material.
Encabezados
Cuerpo
Respuesta
OK

