Quickstart: Set up Azure Attestation by using the Azure portal
Follow this quickstart to get started with Azure Attestation. Learn how to manage an attestation provider, a policy signer, and a policy by using the Azure portal.
Prerequisites
If you don't have an Azure subscription, create a free account before you begin. The user creating an attestation provider should have sufficient access levels on the subscription to create a resource (e.g: owner/contributor). For more information, see Azure built-in roles.
Attestation provider
In this section, you'll create an attestation provider and configure it with either unsigned policies or signed policies. You'll also learn how to view and delete the attestation provider.
Create and configure the provider with unsigned policies
Go to the Azure portal menu or the home page and select Create a resource.
In the search box, enter attestation.
In the results list, select Microsoft Azure Attestation.
On the Microsoft Azure Attestation page, select Create.
On the Create attestation provider page, provide the following inputs:
- Subscription: Choose a subscription.
- Resource Group: Select an existing resource group, or select Create new and enter a resource group name.
- Name: Enter a unique name.
- Location: Choose a location.
- Policy signer certificates file: Don't upload the policy signer certificates file to configure the provider with unsigned policies.
After you provide the required inputs, select Review+Create.
Fix any validation issues and select Create.
Create and configure the provider with signed policies
Go to the Azure portal menu or the home page and select Create a resource.
In the search box, enter attestation.
In the results list, select Microsoft Azure Attestation.
On the Microsoft Azure Attestation page, select Create.
On the Create attestation provider page, provide the following information:
- Subscription: Choose a subscription.
- Resource Group: Select an existing resource group, or select Create new and enter a resource group name.
- Name: Enter a unique name.
- Location: Choose a location.
- Policy signer certificates file: Upload the policy signer certificates file to configure the attestation provider with signed policies. See examples of policy signer certificates.
After you provide the required inputs, select Review+Create.
Fix any validation issues and select Create.
View the attestation provider
- Go to the Azure portal menu or the home page and select All resources.
- In the filter box, enter the attestation provider name and select it.
Delete the attestation provider
There are two ways to delete the attestation provider. You can:
- Go to the Azure portal menu or the home page and select All resources.
- In the filter box, enter the attestation provider name.
- Select the check box and select Delete.
- Enter yes and select Delete.
Or you can:
- Go to the Azure portal menu or the home page and select All resources.
- In the filter box, enter the attestation provider name.
- Select the attestation provider and go to the overview page.
- Select Delete on the menu bar and select Yes.
Attestation policy signers
Follow the steps in this section to view, add, and delete policy signer certificates.
View the policy signer certificates
- Go to the Azure portal menu or the home page and select All resources.
- In the filter box, enter the attestation provider name.
- Select the attestation provider and go to the overview page.
- Select Policy signer certificates on the resource menu on the left side of the window or on the lower pane. If you see a prompt to select certificate for authentication, select cancel to proceed.
- Select Download policy signer certificates. The button will be disabled for attestation providers created without the policy signing requirement.
- The downloaded text file will have all certificates in a JWS format.
- Verify the certificate count and the downloaded certificates.
Add the policy signer certificate
- Go to the Azure portal menu or the home page and select All resources.
- In the filter box, enter the attestation provider name.
- Select the attestation provider and go to the overview page.
- Select Policy signer certificates on the resource menu on the left side of the window or on the lower pane. If you see a prompt to select certificate for authentication, select cancel to proceed.
- Select Add on the upper menu. The button will be disabled for attestation providers created without the policy signing requirement.
- Upload the policy signer certificate file and select Add. See examples of policy signer certificates.
Delete the policy signer certificates
- Go to the Azure portal menu or the home page and select All resources.
- In the filter box, enter the attestation provider name.
- Select the attestation provider and go to the overview page.
- Select Policy signer certificates on the resource menu on the left side of the window or on the lower pane. If you see a prompt to select certificate for authentication, Select Cancel to proceed.
- Select Delete on the upper menu. The button will be disabled for attestation providers created without the policy signing requirement.
- Upload the policy signer certificate file and select Delete. See examples of policy signer certificates.
Attestation policy
This section describes how to view an attestation policy and how to configure policies that were created with and without a policy signing requirement.
View an attestation policy
- Go to the Azure portal menu or the home page and select All resources.
- In the filter box, enter the attestation provider name.
- Select the attestation provider and go to the overview page.
- Select Policy on the resource menu on the left side of the window or on the lower pane. If you see a prompt to select certificate for authentication, select Cancel to proceed.
- Select the preferred Attestation Type and view the Current policy.
Configure an attestation policy
Follow these steps to upload a policy in JWT or text format if the attestation provider was created without a policy signing requirement.
Go to the Azure portal menu or the home page and select All resources.
In the filter box, enter the attestation provider name.
Select the attestation provider and go to the overview page.
Select Policy on the resource menu on the left side of the window or on the lower pane. If you see a prompt to select certificate for authentication, select Cancel proceed.
Select Configure on the upper menu.
Select Policy Format as JWT or as Text.
If the attestation provider was created without policy signing requirement, the user can upload a policy in either JWT or Text format.
- If you chose JWT format, upload the policy file with the policy content in unsigned/signed JWT format and select Save. See policy examples.
- If you chose text format, upload the policy file with the content in Text format or enter the policy content in the text area and select Save. See policy examples.
For the file upload option, the policy preview is shown in text format and isn't editable.
Select Refresh on the upper menu to view the configured policy.
If the attestation provider was created with a policy signing requirement, follow these steps to upload a policy in JWT format.
Go to the Azure portal menu or the home page and select All resources.
In the filter box, enter the attestation provider name.
Select the attestation provider and go to the overview page.
Select Policy on the resource menu on the left side of the window or on the lower pane.
Select Configure on the upper menu.
Upload the policy file in signed JWT format and select Save. See policy examples.
If the attestation provider was created with a policy signing requirement, the user can upload a policy only in signed JWT format.
For the file upload option, the policy preview is shown in text format and isn't editable.
Select Refresh to view the configured policy.