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

Added WIF support for checkout task #5085

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

sanjuyadav24
Copy link

@sanjuyadav24 sanjuyadav24 commented Jan 9, 2025

Added support for Workload identity authentication for checkout tasks

changes:
Introduced a new authentication type WorkloadIdentityFederation this authenticate the user based on app registrations/Managed Identity
Pipeline:

resources:
  repositories:
 - repository: MyAzureReposGitRepository # In a different organization
    endpoint: MyAzureReposGitServiceConnection
    type: git
    name: OtherProject/MyAzureReposGitRepo

new endpoint can be used here

Testing:
Currently it is manually tested as UI changes are Inprogess

  • Created a "Azure Repos/Team Foundation Server" based service connection using PAT in 2 different orgs
  • Registered a self hosted agent in the org
  • While testing harded the clientId and tenantId values from app registrations
  • Validated in working directory(_work\1\s) other org code is available

@sanjuyadav24 sanjuyadav24 force-pushed the users/sanjuyadav/checkout_wif branch from a5c1d0e to ea8ebe3 Compare January 9, 2025 05:45
@sanjuyadav24 sanjuyadav24 reopened this Jan 9, 2025
@sanjuyadav24 sanjuyadav24 marked this pull request as ready for review January 21, 2025 08:20
@sanjuyadav24 sanjuyadav24 requested review from a team as code owners January 21, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants