Migrate dn-bot-devdiv-drop-rw-code-rw PAT to WIF service connection#283
Open
missymessa wants to merge 1 commit intodotnet:mainfrom
Open
Migrate dn-bot-devdiv-drop-rw-code-rw PAT to WIF service connection#283missymessa wants to merge 1 commit intodotnet:mainfrom
missymessa wants to merge 1 commit intodotnet:mainfrom
Conversation
Replace PAT-based auth for VSTS drop upload with AzureCLI@2 + WIF service connection 'dnceng-devdiv-drop-rw-code-rw-wif'. The new flow gets a DevDiv-scoped token via az CLI instead of using the PAT from the DotNet-VSTS-Infra-Access variable group. Work item: AB#10146
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrate the
dn-bot-devdiv-drop-rw-code-rwPAT to Workload Identity Federation (WIF) for VSTS drop uploads.Changes
AzureCLI@2step before1ES.MicroBuildVstsDrop@1to obtain a DevDiv-scoped access token via thednceng-devdiv-drop-rw-code-rw-wifservice connectionaccessToken: $(_DevDivDropAccessToken)with the WIF-obtained$(DevDivDropAccessToken)variableValidation
dev/mjanecke/wif-drop-tokenbranch on the AzDO mirrorGet DevDiv Drop Access Token(AzureCLI@2) — succeededUpload VSTS Drop(1ES.MicroBuildVstsDrop@1) — succeededContext
Part of PAT-to-Entra migration tracked by AB#10146.