Get Trust Authority Hosts KMS
Returns the connection info about the Key Provider Service running on the specified host. if you do not have all of the privileges described as follows: - Operation execution requires TrustedAdmin.ReadTrustedHosts. - The resource HostSystem referenced by the parameter host requires System.View.
Request
URLURL
Path Parameters
Path Parameters
@{link com.vmware.vcenter.Host} id. The parameter must be an identifier for the resource type: HostSystem.
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
The Kms.Info instance which contains the information necessary to connect to the Key Provider Service.
{
"address": {
"hostname": "string",
"port": 0
},
"cluster": "string",
"group": "string",
"host": "string",
"trusted_CA": {
"cert_chain": [
"string"
]
}
}
The opaque string identifier of the cluster in which the Key Provider Service is part of.
The group ID determines which Attestation Service instances this Key Provider Service can communicate with.
The trusted ESX on which the service runs. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: HostSystem. When operations return a value of this structure as a result, the field will be an identifier for the resource type: HostSystem.
Errors
com.vmware.vapi.std.errors.error : if service’s TLS certificate chain is not valid. | com.vmware.vapi.std.errors.resource_inaccessible : if connection to host failed.
‘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