PdfPrep.com

What should you do first?

You have an Azure DevOps organization named Contoso that contains a project named Project 1.

You provision an Azure key vault name Keyvault1.

You need to reference Keyvault1 secrets in a build pipeline of Project1.

What should you do first?
A . Create an XAML build service.
B . Create a variable group in Project1.
C . Add a secure file to Project1.
D . Configure the security policy of Contoso.

Answer: B

Explanation:

Before this will work, the build needs permission to access the Azure Key Vault. This can be added in the Azure Portal.

Open the Access Policies in the Key Vault and add a new one. Choose the principle used in the DevOps build.

Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/release/azure-key-vault

Exit mobile version