Get Trust Authority Hosts Attestation
Returns the connection info about the Attestation 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 Attestation.Info instance which contains the information necessary to connect to the Attestation 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 Attestation Service is part of.
The group ID determines which Attestation Service instances this Attestation 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