Skip to content

[release/10.0] Use Entra credential for symbol upload, removing dnceng-symbol-server-pat#16689

Closed
missymessa wants to merge 1 commit intorelease/10.0from
missymessa-10150-release10
Closed

[release/10.0] Use Entra credential for symbol upload, removing dnceng-symbol-server-pat#16689
missymessa wants to merge 1 commit intorelease/10.0from
missymessa-10150-release10

Conversation

@missymessa
Copy link
Copy Markdown
Member

Summary

Cherry-pick of #16688 to release/10.0.

Migrates the symbol upload step from PAT-based authentication (dnceng-symbol-server-pat) to Entra-based authentication via DefaultIdentityTokenCredential.

See #16688 for full details.

Fixes AB#10150

…-pat dependency

When TempSymbolsAzureDevOpsOrgToken is not provided, use DefaultIdentityTokenCredential
(the same credential already used for symbol promotion) instead of PATCredential for
symbol uploads. This enables the pipeline to use the AzureCLI@2 task's federated identity
(maestro-build-promotion) for symbol management, eliminating the need for the
dnceng-symbol-server-pat PAT.

- PublishArtifactsInManifestBase.cs: Fall back to DefaultIdentityTokenCredential when
  TempSymbolsAzureDevOpsOrgToken is empty/null; retain PATCredential for backward compat
- publish.yml: Remove DotNet-Symbol-Server-Pats variable group and TempSymbolsAzureDevOpsOrgToken
- publish-logs.yml: Remove dnceng-symbol-server-pat from redaction list

Fixes: AB#10150
Copy link
Copy Markdown
Member

@mmitche mmitche left a comment

Choose a reason for hiding this comment

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

This doesn't need to be changed in 10.0. This code is dead here. We only run from main.

@missymessa missymessa closed this Apr 10, 2026
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