This library enables guest attestation flows for SEV-SNP CVMs on Azure. Please refer to the documentation in this repository for details on the attestation procedure.
Default image is Ubuntu 22.04 cvm
bash
export IMAGE_ID=/subscriptions/.../resourceGroups/.../providers/Microsoft.Compute/galleries/.../images/.../versions/1.0.0
make deploy
bash
cargo b --release
scp target/release/snp-vtpm azureuser@$CONFIDENTIAL_VM:
Retrieve SEV-SNP report, validate and print it:
bash
sudo ./snp-vtpm -p