Azure-Samples / microsoft-azure-attestation

Microsoft Azure Attestation is a solution for attesting Trusted Execution Environments (TEEs)
MIT License
30 stars 17 forks source link

What is `InitTimeData` in the `attest/SgxEnclave` endpoint of Attestation Provider? #14

Open dimakuv opened 2 years ago

dimakuv commented 2 years ago
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

I cannot find any information about the field InitTimeData that can be provided to the attest/SgxEnclave REST endpoint of the Attestation Provider: https://docs.microsoft.com/en-us/rest/api/attestation/attestation/attest-sgx-enclave#inittimedata

Googling doesn't help. The examples in this repo do not seem to mention/use this field as well. The official description of this field is cryptic:

Initialization data provided when the enclave is created. MAA will verify that the init data was known to the enclave. Note that InitTimeData is invalid for CoffeeLake processors.

What is the point in this field? When it can be useful?