Skip to content

Track workload-versions GitHub App credentials - #17512

Merged
missymessa merged 3 commits into
dotnet:mainfrom
missymessa:missymessa/workload-versions-github-app-manifest
Sep 9, 2026
Merged

missymessa merged 3 commits into
dotnet:mainfrom
missymessa:missymessa/workload-versions-github-app-manifest

Conversation

@missymessa

@missymessa missymessa commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

Adds the dedicated workload-versions GitHub App to the EngKeyVault Secret Manager manifest.

The github-app-secret declaration tracks the App ID and private key as a composite credential bundle, with no webhook or OAuth secrets.

Part of the migration of dotnet/workload-versions from BotAccount-dotnet-bot-repo-PAT to a least-privilege GitHub App.

AB#12317

Add the dedicated workload-versions GitHub App credential bundle and retain its Key Vault signing key while the pipeline migration is completed.

AB#12317

Co-authored-by: Copilot <[email protected]>
Copilot AI lite review requested due to automatic review settings September 8, 2026 19:02

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.

🟢 Approval recommended

The manifest changes are consistent with existing entries and appear correctly structured/indented for the existing key/secret patterns.

Pull request overview

This PR updates the EngKeyVault Secret Manager manifest to include a dedicated GitHub App credential set for workload-versions, supporting the migration away from a broad-scope PAT toward a least-privilege GitHub App.

Changes:

  • Adds tracking for the existing workload-versions-github-app-key RSA signing key.
  • Adds tracking for the workload-versions-github-app github-app-secret bundle (private key only; no webhook/OAuth secrets).
  • Updates the retention comment to reflect “all consumers” rather than “both consumers”.
File summaries
File Description
.vault-config/product-builds-engkeyvault.yaml Adds workload-versions GitHub App key + secret entries to the EngKeyVault manifest to support the PAT-to-GitHub-App migration.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

The github-app-secret declaration owns the App private key, so the new workload-versions App does not need the transitional Key Vault RSA key manifest entry.

AB#12317

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings September 8, 2026 20:07
@missymessa
missymessa requested review from garath and mmitche September 8, 2026 20:08
@missymessa
missymessa enabled auto-merge (squash) September 8, 2026 20:08

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.

🟢 Approval recommended

The change is a small, additive manifest update that matches the existing github-app-secret parameter pattern, with only a minor naming consistency concern.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment on lines +40 to +41
workload-versions-github-app:
type: github-app-secret
Copilot AI review requested due to automatic review settings September 8, 2026 20:08

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

The newly added secret entry introduces a naming inconsistency within the manifest that should be resolved (or explicitly justified) to avoid confusion and misconfiguration by consumers.

Review details

Suppressed comments (1)

.vault-config/product-builds-engkeyvault.yaml:40

  • The new secret key name workload-versions-github-app is inconsistent with the existing github-app-secret entries in this manifest, which use the pattern <app>-app (e.g., dotnet-monitor-release-app, oneloc-localization-app). Consider renaming it to match the established pattern (for example, workload-versions-app) to keep the manifest consistent and reduce the chance of consumers guessing the wrong secret name.
  workload-versions-github-app:
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@missymessa
missymessa merged commit 2435428 into dotnet:main Sep 9, 2026
10 of 12 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 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.

3 participants