Using Secrets from Azure Key Vault in a Pipeline
Lab
Intermediate
9 h 0 m
2020-06-05
Lab Overview
Using Secrets from Azure Key Vault in a Pipeline Overview Azure Key Vault helps teams to securely store and manage sensitive information such as keys, passwors, certificates, etc., in a centralized storage which are safeguarded by industry-standard algorithms, key lengths, and even hardware security modules. This prevents the disclosure of information through source code, a common mistake that many developers make. Many developers leave confidential details such as database connection strings, passwords, private keys, etc., in their source code which when gained by malicious users can result in undesired consequences. Access to a key vault requires proper authentication and authorization and with RBAC, teams can have even fine granular control who has what permissions over the sensitive data. In this lab, you will see how you can use Azure Key Vault in an Azure DevOps pipeline.

Related Learning Path(s):
AZ - 400 - Microsoft Azure DevOps Solutions
Objectives
  • We will create a key vault, from the Azure portal, to store a MySQL server password.
  • We will configure permissions to let a service principal to read the value.
  • We will retrieve the password in an Azure pipeline and passed on to subsequent tasks.
Exercises
In this lab, you will see how you can use Azure Key Vault in a pipeline.
In this exercise, you will setup your DevOps environment using the Azure DevOps Demo Generator.
In this exercise, you will see how you can use Azure Key Vault in a pipeline.
Real-Time Lab
Not Registered?
Create Account
Already Registered?
Login
What are Labs?

Labs provide a live environment to get hands-on experience using the same tools and services in the real world.


Learn More