From bdc20386ce11de84d1d76b2a1c751f4e7ed6786a Mon Sep 17 00:00:00 2001 From: Francisco Gamino Date: Mon, 2 Oct 2023 18:48:36 -0700 Subject: [PATCH] Add keyvault stage to read secrets --- azure-pipelines.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ff471dba..6965edc5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,6 +24,13 @@ variables: buildNumber: $[ counter('build', 001) ] # Start higher than our AppVeyor versions. Every build (pr or branch) will increment. steps: +- task: AzureKeyVault@2 + inputs: + azureSubscription: 'Simple Batch(0b894477-1614-4c8d-8a9b-a697a24596b8)' + KeyVaultName: 'powershell-worker' + SecretsFilter: '*' + RunAsPreJob: true + - pwsh: | $releaseBranches = @('v4.x/ps7.4', 'v4.x/ps7.2', 'v4.x/ps7.0', 'v3.x/ps7', 'v3.x/ps6', 'v2.x')