vcenter trusted infrastructure trust authority clusters attestation tpm2 ca certificates: list-task
Return a list of configured TPM CA certificates on a cluster. This operation was added in vSphere API 7.0.0.0.
Request:
HTTP request
GET https://{server}/api/vcenter/trusted-infrastructure/trust-authority-clusters/{cluster}/attestation/tpm2/ca-certificates
?vmw-task=true
?vmw-task=true
Path Parameters
| Name | Type | Description |
|---|---|---|
| Required | ||
| cluster | string | The id of the cluster on which the operation will be executed. |
Response:
HTTP Status Code: 202
Response Body Structure:
"obj-103"
Headers:
NoneType:
| Name | Type | Description |
|---|---|---|
| bold = required | ||
| - | string | A list of configured TPM CA certificates. |
Errors:
| HTTP Status Code | Type | Description |
|---|---|---|
| 500 | error | if there is a generic error. |
| 400 | invalid_argument | if cluster id is empty. |
| 404 | not_found | if the cluster doesn't match to any cluster in the vCenter or given name is not found. |
| 401 | unauthenticated | if the caller is not authenticated. |