Skip to main content
GET
/
api
/
v1
/
cvms
/
{cvm_id}
/
attestation
Get CVM attestation
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>"
}

Path Parameters

cvm_id
string
required

Response

Attestation report (may have error if CVM offline)

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
tcb_info
TcbInfo · object
compose_file
string | null