question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Darc] Support multiple Azure DevOps PATs

See original GitHub issue
  • This issue is blocking
  • This issue is causing unreasonable pain

Some Azure DevOps accounts cannot create PATs that work across multiple orgs in DevOps. When running darc update-dependencies in a repo that has dependencies from multiple orgs, darc will throw a 401 unauthorized error because you can’t authenticate for multiple orgs with one PAT.

cc @crummel

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
alexperovichcommented, Nov 11, 2021

The interactive mode can actually work on linux. The “device code” mode works anywhere a console prompt works.

0reactions
riarenascommented, Nov 18, 2021

The PAT tool has been merged. I’m going to close this as that should be the preferred way to create PATs for multiple orgs, and it’s just not feasible for us to plumb multiple per org PATs everywhere where it would be needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use personal access tokens - Azure DevOps
Learn how to create and manage personal access tokens (PATs) as alternate passwords to authenticate to Azure DevOps.
Read more >
Manage personal access tokens using API - Azure DevOps
Learn how to use the PAT lifecycle management API to get, create, update, and revoke their personal access tokens (PATs).
Read more >
Use policies to manage personal access tokens for users
You can limit the creation, scope, and lifespan of new or renewed personal access tokens (PATs) for users in Azure DevOps by enabling...
Read more >
Introducing Service Principal and Managed Identity support ...
We are proud to announce that Service Principals and Managed Identities can now be used to authenticate with Azure DevOps.
Read more >
New policies for personal access tokens
Personal access tokens (PATs) make it easy to authenticate against Azure DevOps to integrate with your tools and services.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found