You can use the Providers interface from the com.vmware.vcenter.crypto_manager.kms package to list vSphere Native Key Providers and retrieve details about a specific vSphere Native Key Provider.

Procedure

  1. Retrieve a list of vSphere Native Key Providers by calling the list(ProvidersTypes.FilterSpec filterSpec) method of the Providers interface.
  2. Retrieve information about a vSphere Native Key Provider by calling the get(java.lang.String provider) method of the Providers interface.