occlum/demos/remote_attestation/azure_attestation/maa_attestation/README.md

588 B

Sample code for doing Microsoft Azure Attestation in Occlum

This demo is programming in RUST, based on the Azure provided REST APIs. It provides steps to do SGX quote generation and attestation.

  • Build
  1. Pull rust-sgx-sdk submodule which is the dependence of occlum dcap library.
# cd occlum
# git submodule update --init
  1. Do the build with the scrit.
# ./build.sh
  • Run
# cd occlum_instance
# occlum run /bin/azure_att

If successful, it prints the Azure attestation token.