You can use HTTP requests to retrieve a list of configured TPM devices on a host and information about each TPM device.

Procedure

  1. List configured TPM devices on a host.
    GET https://<vcenter_ip_address_or_fqdn>/api/vcenter/trusted-infrastructure/hosts/<host>/hardware/tpm

    You receive the results in the response body. You can use the retrieved information to review the basic information of the available TPM devices.

  2. Retrieve detailed information about a specific TPM device, including the manufacturer, model, and firmware version.
    GET https://<vcenter_ip_address_or_fqdn>/api/vcenter/trusted-infrastructure/hosts/<host>/hardware/tpm/<tpm>

    You receive the results in the response body. You can use the retrieved information to review the detailed information of the TPM device.