You can use the Providers interface from the com.vmware.vcenter.crypto_manager.kms package to perform vSphere Native Key Provider management operations.

You can add, update, and remove vSphere Native Key Providers.

Procedure

  1. Add a vSphere Native Key Provider by calling the create(ProvidersTypes.CreateSpec spec) method of the Providers interface.
  2. Update a vSphere Native Key Provider by calling the update(java.lang.String provider, ProvidersTypes.UpdateSpec spec) method of the Providers interface.
  3. Remove a vSphere Native Key Provider by calling the delete(java.lang.String provider) method of the Providers interface.