Skip to content

Remove legacy C# release-tagging PAT declaration - #17735

Merged
missymessa merged 1 commit into
dotnet:mainfrom
missymessa:users/mjanecke/ab12156-remove-legacy-content-pat
Oct 28, 2026
Merged

missymessa merged 1 commit into
dotnet:mainfrom
missymessa:users/mjanecke/ab12156-remove-legacy-content-pat

Conversation

@missymessa

Copy link
Copy Markdown
Member

Summary

Remove only BotAccount-dotnet-bot-content-rw-grained-pat from .vault-config/dnceng-partners-kv.yaml after C# release tagging migrated to the dedicated GitHub App.

Related: AB#12156.

Why this is ready for review

  • Real prerelease build 3119709 completed publishing and App-authenticated tag writes in both dotnet/vscode-csharp and dotnet/roslyn with dryRun=false.
  • Stable and prerelease tagging share the same authentication/write implementation; the flag changes tag names/messages, not credentials or API calls. The migration and import cleanup are merged on main, prerelease, and release.
  • Current consumer-branch checks found no references to the legacy PAT, its old environment variable, or DncEng-Partners-Tokens. Pipeline 1556's current preview and pipeline 1271's preview pinned to successful release source/template commits also contain no PAT/group references.
  • Indexed exact-secret searches found the remaining declaration here and its propagated VMR copy. Indexed searches do not establish that all historical or out-of-band consumers are absent.

Scope and retirement boundary

This is the authorized draft configuration PR only. All four other secret declarations and the vault/reference configuration are preserved. No GitHub PAT was revoked; no Key Vault secret or variable-group entry was modified. Do not treat this PR as credential-retirement completion or approval to merge.

After human review/merge, verify normal propagation to the VMR rather than editing its generated copy directly. Actual token revocation and live configuration removal require separate explicit authorization.

Validation

  • Parsed the before/after YAML and asserted semantic equality after deleting only the exact legacy secret entry from the baseline: passed.
  • git diff --check: passed.
  • Reviewed the complete diff: one file, ten deletions, no additions.
  • Full product build/tests were not run for this declaration-only change. CI status remains separate from the local configuration checks.
  • The unpinned C# pipeline preview failed a 1ES release-job checkout validation; the preview pinned to successful build 3119709's source/template versions passed. No pipeline/template workaround is part of this PR.

To double check

Related to AB#12156. Release tagging uses the dedicated GitHub App. This change only removes the Secret Manager declaration; credential revocation and live configuration cleanup are separate.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: 64f49576-c7a0-4693-a798-19ce84e98975
Copilot AI balanced review requested due to automatic review settings October 28, 2026 22:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

A maintainer must confirm the external C# release-pipeline migration, remaining consumer checks, and draft-only authorization boundary because the linked operational evidence cannot be independently verified.

No open issues 🎉

What changed in this PR

Removes the legacy C# release-tagging PAT declaration from Arcade’s vault configuration following the migration to GitHub App authentication. This configuration-only change does not revoke the token or complete credential retirement.

Changes:

  • Deletes only BotAccount-dotnet-bot-content-rw-grained-pat.
  • Preserves the other four secret declarations and vault/reference configuration.
File Description
.vault-config/​dnceng-partners-kv.yaml Removes the legacy release-tagging PAT declaration.

Review effort: Balanced

@missymessa
missymessa marked this pull request as ready for review October 28, 2026 22:17
@missymessa
missymessa enabled auto-merge (squash) October 28, 2026 22:17
@missymessa
missymessa requested review from garath and mmitche October 28, 2026 22:17
@missymessa
missymessa merged commit 4163bf8 into dotnet:main Oct 28, 2026
10 of 12 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 29, 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.

3 participants