az cli - setting variable on a windows machine build
Did you know that you need to use the following command to set variable if you're using Azure DevOps Az Cli running on a Windows machine?
For /f %%i in ('az keyvault secret show --vault-name "Your-KeyVault-Name" --name "Your-Secret-Name" --query "value"') do set "password=%%i"
Don't ask me why..just weird
Comments