Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AzurePipelinesCredential: clarify system access token requirement #29591

Open
chlowell opened this issue May 6, 2024 · 2 comments
Open

AzurePipelinesCredential: clarify system access token requirement #29591

chlowell opened this issue May 6, 2024 · 2 comments
Assignees

Comments

@chlowell
Copy link
Contributor

chlowell commented May 6, 2024

Currently the credential requires users to provide the system access token via the environment variable SYSTEM_ACCESSTOKEN. Users must configure their pipelines to set this variable because AzDO doesn't do so automatically. We must at least document this requirement. We should also consider taking the system access token as a constructor argument rather than an environment variable. Doing that would make the value obviously required and make the credential's configuration API consistent in that every configuration parameter required from the application would be a constructor argument.

@AisseMTT
Copy link

Can we also add documentation for how to set the SYSTEM_ACCESSTOKEN in AzDO? @chlowell perhaps you have some documentation for how to do this?

@chlowell
Copy link
Contributor Author

👍 there's a YAML example in the Pipelines documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Untriaged
Development

No branches or pull requests

3 participants