Get Attestation Services
Released in v7.0.0 DescriptionReturns the detailed information about a registered Attestation Service instance in this vCenter. if you do not have all of the privileges described as follows: - Operation execution requires TrustedAdmin.ReadTrustedHosts.
Request
URLURL
https://{api_host}/api/vcenter/trusted-infrastructure/attestation/services/{service}
Parameters
Parameters
string
service
Required
the Attestation Service instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
TrustedInfrastructureAttestationServicesInfo
of type application/json
Detailed information about the specified Attestation Service instance.
{
"address": {
"hostname": "string",
"port": 0
},
"group": "string",
"trust_authority_cluster": "string",
"trusted_CA": {
"cert_chain": [
"string"
]
}
}
string
group
Required
The group specifies the Key Provider Service instances that can accept reports issued by this Attestation Service instance.
string
trust_authority_cluster
Required
The cluster specifies the Trust Authority Cluster this Attestation Service belongs to.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/vcenter/trusted-infrastructure/attestation/services/{service}
Errors
404
com.vmware.vapi.std.errors.error : if an error occurred while getting the data. | com.vmware.vapi.std.errors.not_found : if there is no registered Attestation Service instance with the specified ID.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.