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
- Add a vSphere Native Key Provider by calling the create(ProvidersTypes.CreateSpec spec) method of the Providers interface.
- Update a vSphere Native Key Provider by calling the update(java.lang.String provider, ProvidersTypes.UpdateSpec spec) method of the Providers interface.
- Remove a vSphere Native Key Provider by calling the delete(java.lang.String provider) method of the Providers interface.