Skip to content

Stop rotating the shared Maestro PAT - #17652

Merged
missymessa merged 1 commit into
dotnet:mainfrom
missymessa:users/mjanecke/ab12130-remove-maestro-pat-manifest
Oct 2, 2026
Merged

missymessa merged 1 commit into
dotnet:mainfrom
missymessa:users/mjanecke/ab12130-remove-maestro-pat-manifest

Conversation

@missymessa

Copy link
Copy Markdown
Member

Summary

Stop Secret Manager from creating or rotating BotAccount-dotnet-maestro-bot-PAT in EngKeyVault.

The PAT has been removed from the dnceng/Private and dnceng/aspire-msft Publish-Build-Assets variable groups. The Roslyn Copilot publisher migrated to a dedicated GitHub App in dotnet/vscode-csharp#9832 and no longer imports the DevDiv variable group containing this PAT.

DevDiv variable group 603 is unused but still needs to be deleted by a DevDiv Library Administrator because it contains no other variables.

Validation

  • Parsed .vault-config/product-builds-engkeyvault.yaml successfully with PyYAML.
  • Confirmed the updated repository contains no references to BotAccount-dotnet-maestro-bot-PAT.
  • git diff --check

Rollout

After this merges, run the Arcade daily SynchronizeSecrets stage to deploy the manifest change. Keep the current Key Vault secret enabled until that run succeeds and DevDiv group 603 is deleted. Then disable the secret for a monitoring window before deleting it and revoking the GitHub PAT.

Related: AB#12130, AB#12155

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

Copilot-Session: 8a2c76b3-5196-4de4-85bf-a838c46d5b71
Copilot AI balanced review requested due to automatic review settings October 1, 2026 18:54

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.

Copilot review overview

🟢 Approval recommended

The targeted manifest entry is removed cleanly with no remaining repository references.

Review effort: Balanced
Findings: None

What changed in this PR

Stops Secret Manager from rotating the obsolete shared Maestro PAT while retaining the underlying bot account used by other credentials.

Changes:

  • Removes BotAccount-dotnet-maestro-bot-PAT from the EngKeyVault manifest.
File Description
.vault-config/​product-builds-engkeyvault.yaml Removes management of the shared Maestro PAT.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@missymessa
missymessa marked this pull request as ready for review October 1, 2026 18:57

@premun premun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A quick search looks good!

@missymessa
missymessa merged commit 967466c into dotnet:main Oct 2, 2026
12 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 3, 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.

5 participants