Payload/Artifacts required in TPM Attest REST API data field
I am trying to perform TPM attestation from Azure confidential virtual machine, using TPM attest REST API by following docs here, (https://learn.microsoft.com/en-us/rest/api/attestation/attestation/attest-tpm?view=rest-attestation-2022-08-01&tabs=HTTP)
API - POST {instanceUrl}/attest/Tpm?api-version=2022-08-01
The problem I am facing is, in the docs it's mentioned the API requires "data" field in request body, but it's not mentioned what fields/payload should be included in data field.
I am unable to find which fields/artifacts need to be base64 encoded in "data" field for above mentioned API, any help is appreciated.
Update Jan 19, 5:14 PM
I am using Intel Xeon based Confidential Virtual Machine (DC2es v5, East US 2).
Thanks!