Removing unnecessary parameters from VSTS task group : <p>I have a task group which contains besides other tasks the Azure Key Vault task and the Azure Resource Group Deployment task. In the latter I want to override some parameters in the ARM template with values which come from the key vault.</p>

<p>The <strong>Secrets filter</strong> field in the <strong>Azure Key Vault</strong> task looks like <code>secret1,secret2,secret3</code>. These secrets are available as variables in other tasks with the same name like the secret names. So the <strong>Override template parameters</strong> field within the <strong>Azure Resource Group Deployment</strong> task has the value <code>-p1 $(secret1) -p2 $(secret2) -p3 $(secret3)</code>.</p>

<p>The problem is that VSTS automatically picks the three variables as parameters for the task group. I don't want this to happen. These variables will be set and read out within the task group itself. They are like private fields within a class.</p>

<p>One way would be to remove the Azure Key Vault task and use <strong>Build and Release > Library > Variable groups</strong> instead. But there is no way to link variable groups to task groups.</p>
