You can use the Tpm interface from the com.vmware.vcenter.trusted_infrastructure.hosts.hardware package 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 by calling the list(java.lang.String host, TpmTypes.FilterSpec filter) method of the Tpm interface.
  2. Retrieve detailed information about a specific TPM device, including the manufacturer, model, and firmware version by calling the get(java.lang.String host, java.lang.String tpm) method of the Tpm interface.