Forum Discussion

Abhishek_Kumar_Sahu's avatar
Abhishek_Kumar_Sahu
Copper Contributor
Nov 06, 2023

Azure pipelines masking values when running azure cli or azure powershell commands.

when using az servicebus namespace authorization-rule keys list gives masked value as *** in the output.
also on az servicebus queue authorization-rule keys list gives redacted value as ***.

Similar obeserved when getting connection string for Redis using command -->az redis list-keys and also for az storage account keys list

 



This is being observed from last 3-4 days, worked fine before that.

 

1 Reply

  • May consider below workaround:

     

    • Run the commands outside of Azure Pipelines (e.g., in a local terminal or Cloud Shell) to verify if the values are still masked. 
    • Use --output tsv or --query filters to extract specific values. Sometimes formatting the output differently avoids triggering the masking.
    • Check for recent updates to Azure CLI or DevOps agents. A change in CLI version or pipeline agent behavior might be responsible.

Resources