I've exposed a few secrets in the pipeline from a keyvault by adding a variable group and linking the key vault secrets. According to the logs the secrets are downloaded. However, i'm having issues accessing these secret. From what i understand these variables are exposed as normal variables and using the echo command they're set to environment variables.
If if output the echo to a textfile i can see the secrets, so that seems to work. However, the curl commands fails, it seems that it's not using those secrets and i have no clue why?
Edit: solved, sometimes you just need a break
Added the screenshot if someone is ever wondering how to use keyvault secrets in azure devops