I've defined Variable Group
which downloads secrets
from Key Vault
.
Looks like that unlike other variables, secrets aren't set automatically as environment variables.
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:
export ENV1=$(someSecretTaskVariable)
I'm using npm
task which can't be provided with environment variables via the UI and the yaml is read only.
How should this be done?