From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Variable libraries

Variable libraries - Azure Tutorial

From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Start my 1-month free trial

Variable libraries

- [Instructor] Groups of variables common across pipelines can be shared using the concept of libraries. How do you handle working with a large number of variables? A solution is to leverage the variable groups, which can be defined at the project level. These can then be included in your YAML pipeline in the variable section. A nice thing about variable groups is that it supports protecting secrets and it also integrates with Key Vault. The Azure Key Vault is one way of making your secrets reusable. It's also secure. You can specify what secrets will be stored in a Key Vault and then you can use them in your pipeline. Changes made to existing secrets are immediately available to any pipeline that uses them. Examples of secrets to keep in a Key Vault include things like passwords, subscription information, personal access tokens, and more.

Contents