Repository navigation
Track workload-versions GitHub App credentials - #17512
missymessa merged 3 commits into
Conversation
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]>
There was a problem hiding this comment.
🟢 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-keyRSA signing key. - Adds tracking for the
workload-versions-github-appgithub-app-secretbundle (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]>
There was a problem hiding this comment.
🟢 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
| workload-versions-github-app: | ||
| type: github-app-secret |
There was a problem hiding this comment.
🔵 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-appis inconsistent with the existinggithub-app-secretentries 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
Adds the dedicated
workload-versionsGitHub App to the EngKeyVault Secret Manager manifest.The
github-app-secretdeclaration 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-versionsfromBotAccount-dotnet-bot-repo-PATto a least-privilege GitHub App.AB#12317