Create Trust Authority Clusters KMS Providers Client Certificate CSR Task
Generate a certificate signing request (CSR) for the client certificate. This overwrites any existing CSR. The CSR will allow the certificate to be signed by a third party. Once the CSR is signed, certificate may be added as a client certificate.
Calling the API repeatedly will result in a generating a new CSR each time.
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.
Required session ID, obtained by first calling Create Session API
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. The client CSR, PEM and host ID which issued it.
PowerCLI Client SDK Example
com.vmware.vapi.std.errors.invalid_argument : If cluster or provider id are empty.
com.vmware.vapi.std.errors.unauthenticated : If the caller is not authenticated.
com.vmware.vapi.std.errors.not_found : If the provider or cluster is not found.
com.vmware.vapi.std.errors.error : If any other error occurs.