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

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type