Repository navigation
Conversation
Replace the ceapex packaging PAT with a short-lived Entra token acquired through the DevDiv WIF service connection. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 80f6a0c6-7947-4200-bb78-7f0fc01d671a
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 37614Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 37614" |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
Hey there @@missymessa! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
|
Hey there @missymessa! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
There was a problem hiding this comment.
Pull request overview
This PR updates MAUI’s DevDiv localization pipeline template to authenticate to OneLocBuild package sources using workload identity federation (WIF) instead of the long-lived dn-bot-ceapex-package-r PAT. This aligns with the stated goal of moving to short-lived tokens while keeping GitHub PR auth behavior unchanged.
Changes:
- Replaces the
CeapexPatparameter with aCeapexServiceConnectionparameter (dnceng-onelocbuild-ceapex). - Adds a
get-federated-access-token.ymlstep to acquire a short-lived Azure DevOps access token and store it inCeapexEntraToken. - Passes
$(CeapexEntraToken)intoOneLocBuild@2viapatVariable, while continuing to use the existing GitHub PAT input.
PR metadata check (title/description vs diff):
- Title matches the implementation (WIF-based feed access for OneLocBuild on the release branch).
- Description matches the implementation details (uses the specified service connection, uses the shared federated-token helper, and removes the legacy ceapex PAT reference from this repo-owned pipeline).
Description of Change
Backport of #37607 to
release/10.0.1xx-sr9.Replace MAUI's long-lived
dn-bot-ceapex-package-rdependency with a short-lived Entra token for OneLocBuild package restores. The pipeline acquires the token through the existing DevDivdnceng-onelocbuild-ceapexworkload-identity service connection and Arcade's shared federated-token helper. GitHub PR authentication is unchanged.The DevDiv service connection is configured for workload identity federation and MAUI pipeline 13330 is authorized to use it.
Validation
Issues Fixed
Tracks dnceng work item 10151.