REST API - get

esx attestation tpm2 endorsement keys: get

Get the TPM endorsement key details.

Request:

HTTP request

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

Path Parameters

Name Type Description
Required
name string The endorsement key name.

Response:

HTTP Status Code: 200

Response Body Structure:

{
    "public_key""string"
}

Headers:

None

Type:

Name Type Description
bold = required
- info The endorsement key info.
-.public_key string TPM public endorsement key in PEM format.

Errors:

HTTP Status Code Type Description
500 error if there is a generic error.
400 invalid_argument if the name is invalid.
404 not_found if the endorsement key is not found.
401 unauthenticated if the caller is not authenticated.
403 unauthorized if the caller is not authorized.