Returns TEE attestation data including TCB info and app certificates.
curl --request GET \
--url https://cloud-api.phala.com/api/v1/cvms/{cvm_id}/attestation{
"is_online": true,
"is_public": true,
"error": "<string>",
"name": "<string>",
"app_certificates": [
{
"subject": {
"common_name": "<string>",
"organization": "<string>",
"country": "<string>",
"state": "<string>",
"locality": "<string>"
},
"issuer": {
"common_name": "<string>",
"organization": "<string>",
"country": "<string>"
},
"serial_number": "<string>",
"not_before": "2023-11-07T05:31:56Z",
"not_after": "2023-11-07T05:31:56Z",
"version": "<string>",
"fingerprint": "<string>",
"signature_algorithm": "<string>",
"sans": [
"<string>"
],
"is_ca": false,
"position_in_chain": 123,
"quote": "<string>",
"app_id": "<string>",
"cert_usage": "<string>"
}
],
"tcb_info": {
"mrtd": "<string>",
"rtmr0": "<string>",
"rtmr1": "<string>",
"rtmr2": "<string>",
"rtmr3": "<string>",
"event_log": [
{
"imr": 123,
"event_type": 123,
"digest": "<string>",
"event": "<string>",
"event_payload": "<string>"
}
],
"app_compose": "<string>",
"rootfs_hash": "<string>"
},
"compose_file": "<string>"
}Attestation report (may have error if CVM offline)
Was this page helpful?
curl --request GET \
--url https://cloud-api.phala.com/api/v1/cvms/{cvm_id}/attestation{
"is_online": true,
"is_public": true,
"error": "<string>",
"name": "<string>",
"app_certificates": [
{
"subject": {
"common_name": "<string>",
"organization": "<string>",
"country": "<string>",
"state": "<string>",
"locality": "<string>"
},
"issuer": {
"common_name": "<string>",
"organization": "<string>",
"country": "<string>"
},
"serial_number": "<string>",
"not_before": "2023-11-07T05:31:56Z",
"not_after": "2023-11-07T05:31:56Z",
"version": "<string>",
"fingerprint": "<string>",
"signature_algorithm": "<string>",
"sans": [
"<string>"
],
"is_ca": false,
"position_in_chain": 123,
"quote": "<string>",
"app_id": "<string>",
"cert_usage": "<string>"
}
],
"tcb_info": {
"mrtd": "<string>",
"rtmr0": "<string>",
"rtmr1": "<string>",
"rtmr2": "<string>",
"rtmr3": "<string>",
"event_log": [
{
"imr": 123,
"event_type": 123,
"digest": "<string>",
"event": "<string>",
"event_payload": "<string>"
}
],
"app_compose": "<string>",
"rootfs_hash": "<string>"
},
"compose_file": "<string>"
}