REST API - create-task

vcenter trusted infrastructure trust authority clusters kms providers client certificate: create-task

Generate a new self signed client certificate. Existing client certificate is overwritten. The key server will use this certificate to validate the client connection. This operation was added in vSphere API 7.0.0.

Request:

HTTP request

POST https://{server}/api/vcenter/trusted-infrastructure/trust-authority-clusters/{cluster}/kms/providers/{provider}/client-certificate

?vmw-task=true

Path Parameters

Name Type Description
Required
cluster string Identifier of the cluster.
provider string Identifier of the provider.

Response:

HTTP Status Code: 202

Response Body Structure:

"obj-103"

Headers:

None

Type:

Name Type Description
bold = required
- string

Errors:

HTTP Status Code Type Description
400 invalid_argument If cluster or provider id are empty.
404 not_found If the cluster or provider is not found.
401 unauthenticated If the caller is not authenticated.
500 error If any other error occurs.