Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Read a Secret from an Azure Key Vault in Azure Pipelines

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.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 30m
Published
Clock icon Sep 01, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create an Azure DevOps Organization

    Create a new Azure DevOps organization and create a project called MyFirstProject.

  2. Challenge

    Create a Build Pipeline

    Import the code for the lab located here: https://github.com/ACloudGuru-Resources/content-az400-lab-resources.git

    Create a pipeline using the keyvault branch.

    This lab requires the use of a self-hosted agent. Instructions can be found here: Self-Hosted Agent Instructions.

    Make sure that that pipeline is using the self-hosted agent.

  3. Challenge

    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.

  4. Challenge

    Create a Release Pipeline

    Create a new release pipeline to deploy an Azure Web App that utilizes the Azure Key Vault secret.

    Make sure that that pipeline is using the self-hosted agent.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans