The last code sample seems to have a type - the docker run command uses the env:AZDO_PERSONAL_ACCESS_TOKEN value twice, instead of using env:AZDO_EXT_PAT
It might be a small thing to miss, for beginners who are copy-pasting.
Hey! Actually the example is correct, because it's the same token being set for two different services: the Azure Devops CLI and the Azure Terraform Provider. Both of these services use the same token, but require a different environment variable name to pass it to the service.
The last code sample seems to have a type - the
docker runcommand uses theenv:AZDO_PERSONAL_ACCESS_TOKENvalue twice, instead of usingenv:AZDO_EXT_PATIt might be a small thing to miss, for beginners who are copy-pasting.
Hey! Actually the example is correct, because it's the same token being set for two different services: the Azure Devops CLI and the Azure Terraform Provider. Both of these services use the same token, but require a different environment variable name to pass it to the service.
Ok. That makes sense then. I just saw the image in a tweet, and I thought it was some minor oversight. I apologize for missing this point.