Update Trust Authority Clusters KMS Providers Client Certificate Task
Update the client certificate. The key server will use this certificate to validate the client connection. If a client certificate already exists, it will be replaced.
An optional private key can be specified if the certificate has already been provisioned.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the cluster. The parameter must be an identifier for the resource type: ClusterComputeResource.
Identifier of the provider. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
The update spec.
{
"certificate": "string"
}
Public certificate used by every host in the cluster.
Private part of the certificate. If unset, the update request is for a public/private client certificate pair, not for a signed CSR.
Authentication
Response
Response BodyResponse Body
An identifier for the task created by this API invocation will be returned. If the non-async version of the operation returns a value, this id can be used with the CIS Get Task operation to fetch that value. The normal description of this operation’s return value will follow if one exists.
Errors
com.vmware.vapi.std.errors.invalid_argument : If the certificate or private key is invalid or cluster/provider id are empty.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
PowerCLI Client SDK All Parameters Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: update_task