Secret variables **are not automatically exported as environment variables.**
If you want to have you secret set as env variable, you need to explicitly map them to environment variables.
### See also
1.
### Reference
1. [Secret Variables on Azure DevOps docs](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch#secret-variables)