- Published on
- Authors
- koskila
- Tags
- azuredevops
How to output the value of a secret variable in Azure DevOps?
This article explains how you can output the value of a secret variable stored in Azure DevOps. This applies both to secrets stored in a Variable Group, or Pipeline Variables stored as secrets. Is it safe, secure and advisable to do this? No!





![Cover image for Azure DevOps pipelines suddenly failing with "##[error]#0 building with default instance using docker driver"](/cdn-cgi/image/sharpen=1,format=auto,quality=90,slow-connection-quality=50,onerror=redirect,fit=scale-down,width=1920/images/14189-image-7.png)




![Cover image for Azure DevOps fails with "The path [path-to-your-repo] does not exist" even though the repository is there for sure?](/cdn-cgi/image/sharpen=1,format=auto,quality=90,slow-connection-quality=50,onerror=redirect,fit=scale-down,width=1920/images/12955-bash.jpg)








