You can use HTTP requests to list vSphere Native Key Providers on a host and retrieve details about a specific vSphere Native Key Provider.
Procedure
- Retrieve a list of vSphere Native Key Providers on a host.
GET https://<vcenter_ip_address_or_fqdn>/api/vcenter/crypto-manager/hosts/<host>/kms/providers
In the response body, you receive information about the health status, ID, and type of each provider.
- Retrieve information about a vSphere Native Key Provider on a host.
GET https://<vcenter_ip_address_or_fqdn>/api/vcenter/crypto-manager/hosts/<host>/kms/providers/<provider>
In the response body, you receive detailed information about the health status and the type of the provider.