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.
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
Federation Operations
POST
Create Home Sites
POST
Create Site
DELETE
Delete Home Sites
DELETE
Delete Site
POST
Eject Pod
GET
Get Home Site
GET
Get Pod
GET
Get Pod Assignment
GET
Get Pod Endpoint
GET
Get Pod Federation
GET
Get Site
GET
Get Task
POST
Initialize CPA
POST
Join CPA
GET
List Home Sites
GET
List Pod Assignments
GET
List Pod Endpoint
GET
List Pods
GET
List Sites
GET
List Tasks
POST
Resolve Home Sites
POST
Rotate Key Pair
POST
Uninitialize CPA
POST
Unjoin CPA
PUT
Update Pod
PUT
Update Pod Federation
PUT
Update Site