REST API - get-task

vcenter trusted infrastructure trust authority clusters attestation tpm2 endorsement keys: get-task

Get the TPM endorsement key details on a cluster. This operation was added in vSphere API 7.0.0.

Request:

HTTP request

GET https://{server}/api/vcenter/trusted-infrastructure/trust-authority-clusters/{cluster}/attestation/tpm2/endorsement-keys/{name}

?vmw-task=true

Path Parameters

Name Type Description
Required
cluster string The id of the cluster on which the operation will be executed.
name string The endorsement key name.

Response:

HTTP Status Code: 202

Response Body Structure:

"obj-103"

Headers:

None

Type:

Name Type Description
bold = required
- string The endorsement key info.

Errors:

HTTP Status Code Type Description
500 error if there is a generic error.
400 invalid_argument if the name is invalid or cluster id is empty.
404 not_found if the endorsement key is not found or cluster doesn't match to any cluster in the vCenter.
401 unauthenticated if the caller is not authenticated.