title: How to use secret task variables with npm tasks
body: <p>I've defined <code>Variable Group</code> which downloads <code>secrets</code> from <code>Key Vault</code>.<br>
  Looks like that unlike other variables, secrets aren't set automatically as environment variables.<br>
  I've tried using a bash script to take those 'task variables' and set them as environment variables but they were gone by the next task:</p>
  
  <pre><code>export ENV1=$(someSecretTaskVariable)
  </code></pre>
  
  <p>I'm using <code>npm</code> task which can't be provided with environment variables via the UI and the yaml is read only.  </p>
  
  <p>How should this be done?</p>