How to provision client assets into JWT token in Azure CVM?

Joey 175 Reputation points
2024-09-29T10:33:36.8866667+00:00

Hi~

This question is related to this FAQ.

Currently, I am using an Azure SNP-CVM:

  • Image: Ubuntu Server 20.04 LTS (Confidential VM - SEV-SNP Only)

VMsize: DCa series

  • Enabled features: SecureBoot, Trusted Launch Feature, and EncOSdisk.

To do attestation, I have successfully installed the AttestationClient{cvm-platform-checker-exe} and acquired the JWT response.

My question is, how can I provision client assets into the JWT token generated by Azure attestation in SNP-CVM?

The official AMD SEV-SNP hardware offers this ability that allows the attester to provide 512-bit <REPORT_DATA>, like a public key, into the AMD-generated attestation report.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,077 questions
{count} votes

Accepted answer
  1. Anonymous
    2024-10-01T08:31:45.5333333+00:00

    Hi Joey,

    Based on your latest comment for using the Microsoft Azure Attestation (MAA) service together with Secure Key Release (SKR), you can refer to the following resources:

    Secure Key Release feature with AKV and Azure Confidential Computing (ACC): This document provides a detailed guide on how to perform SKR using MAA. It includes steps for setting up Azure Key Vault, creating a secure key release policy, and performing the release operation.

    Azure Attestation Overview: This document offers an overview of Azure Attestation, including its integration with SKR.

    Quickstart Set up Azure Attestation by using the Azure portal: This quickstart guide helps you set up and configure an attestation provider using the Azure portal.

    Regarding your second question about providing user data directly in the SNP Attestation Report or Azure JWT without relying on the SKR service, you can customize the 512-bit REPORT_DATA field in the SNP attestation report. This field can be used to include user-specific data, which will then be part of the attestation token.

    For more detailed guidance, you can refer to the Azure Attestation documentation and the specific sections on customizing attestation policies.
    Secure Key Release with Confidential VMs How To Guide
    Examples of an attestation token

    If you have any further queries, do let us know. If the comment is helpful, please click "Upvote".

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.