Skip to content

Declare VS Code release-tags GitHub App signing key - #17820

Merged
missymessa merged 2 commits into
dotnet:mainfrom
missymessa:users/mjanecke/12467-release-tags-signing-key
Nov 20, 2026
Merged

missymessa merged 2 commits into
dotnet:mainfrom
missymessa:users/mjanecke/12467-release-tags-signing-key

Conversation

@missymessa

@missymessa missymessa commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Register the existing dotnet-vscode-csharp-release-tags-app-key RSA signing key in the EngKeyVault Secret Manager manifest, following the OneLoc pattern. Supports vscode-csharp #9978 and AB#12467.

The GitHub-generated key was imported into Key Vault as non-exportable. The release identity has Key Vault Crypto User scoped to this key, and the pipeline signs JWTs in Key Vault without retrieving the private key.

Operational constraint: If the declared key is missing, Secret Manager creates a new RSA key that will not match the GitHub App. Key replacement must coordinate GitHub registration and import; rotating the PEM secret alone does not update the signing key.

Validation

  • Read-only Key Vault metadata confirms the key is enabled, RSA 2048-bit, non-exportable, and restricted to sign/verify. Its public fingerprint matches the GitHub App, and an RS256 sign/verify check passed.
  • secret-manager synchronize --verify-only passed for all 13 manifest secrets. It skips manifest.keys, so key presence was checked separately via Key Vault metadata.
  • ReleaseTags canary 3140920 passed WIF/Key Vault signing and read-only repository access, revoked the installation token, and passed 112/112 mocked regression tests. Temporary pipeline permissions were restored. The full release workflow was not run.
  • PR CI build 1690555: see current checks.

Required CI checks and human review remain before merge.

Follow the OneLoc GitHub App key pattern: the App PEM is imported into EngKeyVault as a non-exportable RSA key and pipelines sign JWTs with the Key Vault Sign operation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8f29c08e-f8a7-4acf-9ce1-2db3460d9cc5
Copilot AI balanced review requested due to automatic review settings November 19, 2026 17:47

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

Merge depends on human confirmation of the matching GitHub App key import, key-scoped permissions, and protected release-tags canary, while linked vscode-csharp #9978 still reports KeyNotFound.

No open issues 🎉

What changed in this PR

Registers the VS Code release-tags GitHub App signing key in Arcade’s Secret Manager inventory, supporting JWT signing within Key Vault without exporting the private key.

Changes:

  • Adds dotnet-vscode-csharp-release-tags-app-key to the EngKeyVault manifest as a 2048-bit RSA key, following the existing OneLoc pattern.

The key import and validation remain explicit pre-merge prerequisites.

File Description
.vault-config/​product-builds-engkeyvault.yaml Declares the release-tags GitHub App RSA signing key.

Review effort: Balanced

@missymessa

Copy link
Copy Markdown
Member Author

Follow-up to the automated review: the ReleaseTags key is now present, matches the GitHub App, and has key-scoped Crypto User access. Canary 3140920 passed; the earlier KeyNotFound statement in vscode-csharp #9978 has been corrected. Validation details and the remaining review/CI gates are in the updated description.

@missymessa
missymessa marked this pull request as ready for review November 19, 2026 18:52
@missymessa
missymessa requested review from garath and mmitche November 19, 2026 18:53
@missymessa
missymessa enabled auto-merge (squash) November 19, 2026 20:12
Copilot AI balanced review requested due to automatic review settings November 19, 2026 21:01

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

Scheduled production synchronization may generate an incompatible key if the declared key is absent, requiring a human with protected access to confirm live Key Vault metadata, permissions, and canary evidence unavailable from this checkout.

No open issues 🎉

Review effort: Balanced

@missymessa

Copy link
Copy Markdown
Member Author

/AzurePipelines run arcade-pr

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

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