Skip to main content

Hide a proxy password in Azure DevOps

You can add a variable in Azure DevOps to hide a proxy password and prevent that password from being shown in console logs of build or release pipelines.

To complete this task:

  1. In your Azure DevOps, go to the Build or Release window and select the Variables tab.
  2. Select + Add to add a new variable.
  3. Enter the variable name in the Name field and enter the proxy password in the Value field.
  4. To hide the password, select the lock icon , so that the icon changes to locked.
  5. For the Veracode Flaw Importer task, in the Proxy Settings field, add the password as a variable. For example, if the variable name is pwd, enter $(pwd).
  6. For the Veracode Upload and Scan task, in the Optional Arguments field, enter the password as a variable. For example, if the variable name is pwd, enter $(pwd).

The proxy password is now hidden from the console logs when you run the pipeline.