Rotate Key Pair

Rotate Key Pair

Note: CPA needs to be initialized for the pod for invoking this API. All the listed privileges are required -

Privileges Description
FEDERATED_LDAP_MANAGE Caller should have permission to this privilege, to perform this operation.
Request
URI
POST
https://{api_host}/rest/federation/v1/cpa/action/rotate-keypair
COPY
Request Body
CPAKeyPairRotationSpec of type(s) application/json
Required
{
    "retain_latest_key_pair": 1
}
integer As int32 As int32
retain_latest_key_pair
Optional

Number of key pairs to retain from existing generations of CPA key pair. Default value is 0.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

401

User is not authenticated

Operation doesn't return any data structure

403

Access to the resource is forbidden

Operation doesn't return any data structure

409

Conflict | CPA not initialized for the pod

Operation doesn't return any data structure