You are deploying a database and application using Azure DevOps, but you don’t want to store the database passwords within the repo or within the pipeline. Use Azure Key Vault in the release pipeline to read a secret for the deployment.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create an Azure DevOps Organization
Create a new Azure DevOps Organization and create a project called
MyFirstProject
.- Create a Build Pipeline
Import the code for the lab located in this GitHub repository, and select the
keyvault
branch. Create a pipeline using thekeyvault
branch.- Create an Azure Key Vault
Create an Azure Key Vault and then create a secret. The secret should be called
sqldbpassword
, and the value can be any strong password you choose.Note: The password must be at least 8 characters in length and must contain upper and lowercase letters, a number, and a symbol.
- Create a Release Pipeline
Create a new release pipeline to deploy an Azure WebApp that ulitizes the Azure Key Vault secret.