We're here to help

Configuring the Provar secrets password in Microsoft Azure Pipelines

Microsoft Azure Pipelines is a cloud service that you can use to automatically build and test your code project and make it available to other users. It works with just about any language or project type.

Azure Pipelines combines continuous integration (CI) and continuous delivery (CD) to constantly and consistently test and build your code and ship it to any target.

This support article describes how to configure encrypt the .secrets file when using a Continuous Integration (CI) tool such as Azure Pipelines in order to protect the security of your information. You can do this by defining the secrets password within the Environment Variable

 

Instructions for configuring this within Azure Pipelines


Step 1: Configure Azure Pipelines using ANT. To get started, click Variables.

Step 2: Add a new variable PROVARSECRET and select lock to secure the credentials so that it is not displayed in plain text. 

Step 3: In the ANT task, provide the following command:

-Dsecrets.password=$(PROVARSECRET. This will replace the secrets.password property mentioned in the build.xml file with the encrypted password variable. 

Above: View of the ANT task with the secret password listed in Options.

 

Step 4: In the pipeline execution logs, you will see the secret password in encrypted form.