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

support authenticating with a service principal in Linux #14154

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

afeld
Copy link

@afeld afeld commented Oct 18, 2024

It appears issues got turned off in this repository, but I had described the background in #13864: I was trying to set up a Pipeline agent in a Docker container on Linux using a service principal, and it wasn't clear how to authenticate.

This pull request updates the instructions and code for Linux to support authentication with a service principal, which I was able to do locally. I don't know Powershell so I didn't touch that part of the page, but it should be possible there too.

Thanks!

@afeld
Copy link
Author

afeld commented Oct 18, 2024

@microsoft-github-policy-service agree

Copy link
Contributor

@afeld : Thanks for your contribution! The author(s) have been notified to review your proposed change.


### Authorization

The token or service principal must have the **Agent Pools (read, manage)** scope at the Organization level of `AZP_URL`. If using a PAT, the token must be created by a user who has permission to [configure agents](pools-queues.md#create-agent-pools).
Copy link
Author

@afeld afeld Oct 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not 100% confident I got this part right, as my access in our Azure DevOps Organization is somewhat limited.

@Jak-MS
Copy link
Contributor

Jak-MS commented Oct 21, 2024

@steved0x
Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

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

Successfully merging this pull request may close these issues.

3 participants