You can use the BaseImages interface from the com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx package to manage trusted instances of ESXi software on a cluster level.

You can import, list, remove, and retrieve details about ESXi base images.

Prerequisites

  • Verify that you have access to a working vSphere Trust Authority environment.
  • Verify that you have Trusted Infrastructure administrative privileges.

Procedure

  1. Import ESXi metadata as a new trusted base image to each host in a vSphere Trust Authority Cluster by calling the importFromImgdb_Task(java.lang.String cluster, byte[] imgdb) method of the BaseImages interface.
  2. Retrieve a list of trusted ESXi base images in a vSphere Trust Authority Cluster by calling the list_Task(java.lang.String cluster, BaseImagesTypes.FilterSpec spec) method of the BaseImages interface.
  3. Remove an ESXi base image that should no longer be trusted from a vSphere Trust Authority Cluster by calling the delete_Task(java.lang.String cluster, java.lang.String version) method of the BaseImages interface.
  4. Retrieve details about a trusted ESXi base image version in a vSphere Trust Authority Cluster by calling the get_Task(java.lang.String cluster, java.lang.String version) method of the BaseImages interface.