Skip to main content
GET
Get CVM attestation

Path Parameters

cvm_id
string
required

Response

Attestation report. The error field can be set while the CVM is online: the guest agent could not be read, or its answer was incomplete.

Model representing CVM attestation information

is_online
boolean
required
is_public
boolean
default:true
error
string | null
name
string | null
app_certificates
Certificate · object[] | null
app_certificate_chain_pem
string | null

Certificate chain the guest agent's app certificate was issued with, as PEM. The guest agent issues it once and caches it across requests, so it is not a fresh quote and not proof for this request. The leaf quote's report_data is SHA512(ASCII("ratls-cert:") || DER SubjectPublicKeyInfo of the leaf) and binds no caller nonce. In KMS mode the chain is issued by the KMS, so verify it against a KMS root you trust independently, not the root shipped in the chain; a local CA can also issue it. In dstack versions that write it, the leaf's 1.3.6.1.4.1.62397.1.8 extension carries the quote, the trimmed TDX runtime events and, if present, the embedded vm_config; older certificates carry the quote and event log in 1.3.6.1.4.1.62397.1.1 and 1.3.6.1.4.1.62397.1.2. The event log in tcb_info is read separately and is not the log of this certificate.

tcb_info
TcbInfo · object | null
compose_file
string | null