Get Hosts KMS Providers
Get a provider on a host. if you do not have all of the privileges described as follows: - The resource HostSystem referenced by the parameter host requires Cryptographer.ReadKeyServersInfo.
Request
URLURL
Path Parameters
Path Parameters
Host identifier. The parameter must be an identifier for the resource type: HostSystem.
Provider identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
Information of the provider.
{
"details": [
{
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "SHORT_DATE",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
}
],
"health": "NONE",
"native_info": {
"key_id": "string"
},
"type": "NATIVE"
}
Details regarding the health status of the provider. When the provider Providers.Health is not OK or NONE, this field will provide actionable descriptions of the issues.
The Providers.Health enumerated type contains the health status of a provider.
NONE : No health status is available.
OK : Operating normally.
WARNING : Operating normally, but there is an issue that requires attention.
ERROR : There is a critical issue that requires attention.
Possible values are: NONE , OK , WARNING , ERROR
The Providers.Type enumerated type contains the types of providers.
NATIVE : Native provider
TRUST_AUTHORITY : Trust Authority provider
Possible values are: NATIVE , TRUST_AUTHORITY
Native provider information This field is optional and it is only relevant when the value of Providers.Info.type is NATIVE.
Errors
com.vmware.vapi.std.errors.invalid_argument : if the host identifier is empty or the provider identifier is empty.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
cURL Command
Vendor Extensions
x-vmw-doc-operation: get