Repository navigation
[prerelease] Keep GitHub App private keys in Key Vault - #9979
Closed
missymessa wants to merge 3 commits into
Closed
missymessa wants to merge 3 commits into
missymessa wants to merge 3 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6793769-8620-4b12-9a94-206a0db5e467
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6793769-8620-4b12-9a94-206a0db5e467
Use az rest for the configured App-ID projection and remove the temporary committed regression suite. Keep RSA signing in Key Vault. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8f29c08e-f8a7-4acf-9ce1-2db3460d9cc5
Member
Author
|
Closing this in favor of #9978. That PR carries the Key Vault signing change on main; the change can flow to prerelease through the usual main-to-prerelease merge. If prerelease needs the fix before then, we can revisit this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Keep GitHub App private keys in Key Vault while the prerelease localization and release pipelines use workload identity federation and short-lived installation tokens. The standalone helper reads the configured App-ID secret and asks Key Vault to sign the JWT digest; it never retrieves the private key and has no local PEM-signing or PAT fallback. The helper uses
az rest --query valueto avoid Azure CLI secret deserialization failures on year-9999 expiry metadata.The callers use the configured identifier contract (
appIdSecretName/AppIdSecretName;GitHubAppIdSecretNamefor OneLoc) rather than hardcoded App IDs. This servicing branch retains its standalone helper and existing checkout behavior.Validation
9bc328ceb3901ad99a27d1be97137428a19456f4.git diff --check; this was not Azure DevOps template compilation.dotnet-vscode-csharp-release-tags-app-keyis present, enabled, and RSA. Related release test-mode run 3140987 validated signing with this key and minted adotnetinstallation token, but it did not execute this PR's standalone helper.Remaining gates
Tracking: https://dev.azure.com/dnceng/internal/_workitems/edit/12467