REST API - list

esx attestation tpm2 endorsement keys: list

Return a list of configured TPM endorsement keys.

Request:

HTTP request

GET https://{server}/api/esx/attestation/tpm2/endorsement-keys

Response:

HTTP Status Code: 200

Response Body Structure:

[
    {
        "name""obj-103"
    },
    {
        "name""obj-103"
    }
]

Headers:

None

Type:

Name Type Description
bold = required
- summary[] A list of configured endorsement keys.
-[].name string A unique name for the TPM endorsement key.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.esx.attestation.tpm2.endorsement_keys. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.esx.attestation.tpm2.endorsement_keys.

Errors:

HTTP Status Code Type Description
500 error if there is a generic error.
401 unauthenticated if the caller is not authenticated.
403 unauthorized if the caller is not authorized.