Skip to content

docs: add VS Code extension OIDC publishing guide#119

Draft
theoephraim wants to merge 1 commit into
mainfrom
docs/vscode-oidc-publishing
Draft

docs: add VS Code extension OIDC publishing guide#119
theoephraim wants to merge 1 commit into
mainfrom
docs/vscode-oidc-publishing

Conversation

@theoephraim

Copy link
Copy Markdown
Member

Adds a guide for publishing a VS Code extension from CI via Microsoft Entra workload identity federation (OIDC) instead of an expiring VSCE_PAT, using bumpy's custom publishCommand.

The setup is genuinely awkward (especially the Marketplace publisher permission step), so the guide is heavy on copy-paste az/gh scripts:

  • How the pieces fit: azure/login (OIDC) → bumpy ci releasevsce publish --azure-credential (bumpy's child process inherits the az session).
  • Create an Entra app registration + GitHub federated credential.
  • Grant the app access to the Marketplace publisher — the non-obvious part: the Members UI wants the Team Foundation Identity ID (from the profile API), not the Client/Object/resource ID. Full script included.
  • GitHub secrets, the bumpy publishCommand with --azure-credential, and the azure/login workflow step (with gating on bumpy ci plan).
  • Open VSX (still token-based).
  • Troubleshooting: won't-accept-id, AADSTS5000225 inactivity, personal-MSA publisher, unhelpful publish errors.

Linked from the README docs index and the configuration.md VSCode example.

Step-by-step guide for publishing a VS Code extension via Azure workload
identity federation (OIDC) instead of an expiring VSCE_PAT, with copy-paste
az/gh scripts — including the non-obvious Marketplace publisher permission
step (Team Foundation Identity ID) and common gotchas. Linked from the README
docs index and the configuration.md vscode example.
@theoephraim theoephraim marked this pull request as draft June 18, 2026 19:44
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.

1 participant