You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The README documents --oidc (which is not --trusted-publishing for some reason) and says to configure it on the Visual Studio Marketplace, but there doesn't seem to be anywhere to configure it. Where is the page??? Benjamin Christopher Simmonds (@benibenj)
Benjamin Brienen (@BenjaminBrienen)--oidc is not yet fully supported by the marketplace backend. It will be soon. Sorry for the confusion, I should not have added it to the read me already.
is not yet fully supported by the marketplace backend
Benjamin Christopher Simmonds (@benibenj) thanks for clarifying. What changes are planned for the backend? POST /_apis/gallery/token still returns TrustedPublishingNotSupportedException today.
Settings page: a "Trusted publishers" page on the publisher management screen, scoped to one extension.
Azure Pipelines support: accept Azure Pipelines' OIDC tokens directly. Other services already do this; for example, Databricks federates with ADO pipeline tokens without any Azure resources. Today the documented flow needs an Azure subscription, a managed identity, a federated credential, and an az rest lookup.
Immutable IDs: at registration, resolve the repo, org, project, and pipeline names to IDs and match on those, so a renamed or re-created repo can't take over.
Branch and approval checks: let a registration pin a GitHub environment or an ADO service connection, so existing branch protection and approval checks apply.
Scoped tokens: issue tokens that expire in minutes, can publish only that one extension, and show the version as published by trusted publishing.
Both ADO issuers: support vstoken.dev.azure.com and the Entra issuer, since the former retires July 1, 2027.
Is there a rough timeline? Global PATs are decommissioned on Dec 1, 2026.
If the Entra ID flow is the only option after Dec 1, every publisher who automates publishing will need an Azure subscription to host the managed identity. Even if usage costs nothing, that means setting up a billing account, usually with a credit card. That's a real barrier for open source and hobbyist authors. Open VSX, npm, and PyPI support trusted publishing without requiring a paid cloud account.
FYI for those following: lyndaidaii from the Marketplace team confirmed in microsoft/vsmarketplace#2121 that they're working on trusted publishing from GitHub Actions, configured on marketplace.visualstudio.com, with no Azure DevOps PAT.
I've asked there for a timeline and whether the PAT deadline will be extended.
Remco Haszing (@remcohaszing), We’re working on staged publishing for Visual Studio Marketplace and will share more details as they become available. maybe open a separate issue for staged publishing. Thanks.
Confirming trusted publishing works end to end from GitHub Actions with a GitHub environment, using @vscode/vsce 4.1.0.
Setup: the policy on the publisher names the owner, repo, workflow file and the environment vscode-marketplace, which has required reviewers and accepts only release tags. The publish job has id-token: write, runs in that environment, and calls vsce publish --oidc --packagePath <vsix> on the VSIX the earlier gates tested. No Marketplace secret is stored. The workflow change is libredb/libredb-studio#1919.
lyndaidaii is there a way to set a trusted publisher policy against an individual extension (to ensure only Org/Repo1 can publish org.extension1)? I can only see settings against the Publisher, and the form has no option to specify the extension for each policy.
Activity
cooronx commentedon Aug 10, 2026
when will
trust publishing(oidc)be ready on release? it seems PAT are retired on December 1, 2026. may be need some time to change it to oidcbenibenj commentedon Aug 10, 2026
cooronx I don't have the exact timeline, but it should be available soon. Possibly around September
shyim commentedon Aug 20, 2026
Could we get than also an GitHub Action which publishes those? The DX of publishing plugins is the worse I see of all platforms so far 😭
ci: publish with tokens, since neither registry accepts anything bett…
trivikr commentedon Sep 24, 2026
Is there an update on when trusted publishing will be available on VSCode Marketplace?
Open VSX had added support for truested publishing on Sept 10th in [email protected]
BenjaminBrienen commentedon Oct 2, 2026
The README documents
--oidc(which is not--trusted-publishingfor some reason) and says to configure it on the Visual Studio Marketplace, but there doesn't seem to be anywhere to configure it. Where is the page??? Benjamin Christopher Simmonds (@benibenj)microsoft/vscode-vsce#1275
microsoft/vscode-vsce#1275
microsoft/vscode-vsce#1275
trivikr commentedon Oct 5, 2026
I just enabled trusted publishing on Open VSX by visiting
Settings → Trusted Publishersand choosing GitHub as a provider.Their wiki was easy to follow https://github.com/eclipse-openvsx/openvsx/wiki/Trusted-Publishing#register-a-trusted-publisher
Is there an equivalent one for Visual Studio Code Marketplace?
benibenj commentedon Oct 5, 2026
Benjamin Brienen (@BenjaminBrienen)
--oidcis not yet fully supported by the marketplace backend. It will be soon. Sorry for the confusion, I should not have added it to the read me already.trivikr commentedon Oct 8, 2026
Benjamin Christopher Simmonds (@benibenj) thanks for clarifying. What changes are planned for the backend?
POST /_apis/gallery/tokenstill returnsTrustedPublishingNotSupportedExceptiontoday.Some suggestions, based on the Open VSX implementation:
az restlookup.vstoken.dev.azure.comand the Entra issuer, since the former retires July 1, 2027.Is there a rough timeline? Global PATs are decommissioned on Dec 1, 2026.
BenjaminBrienen commentedon Oct 8, 2026
Cutting it very close 😬
Hopefully the global PAT deadline is postponed a couple years.
Trusted publish extension (wgsl-analyzer#1569)
trivikr commentedon Oct 12, 2026
Benjamin Christopher Simmonds (@benibenj) Sandeep Somavarapu (@sandy081) following up on my earlier comment.
With global PATs decommissioned on Dec 1, 2026, publishers need time to migrate their pipelines. Could you share:
--oidc) expected to be supported by the Marketplace backend before Dec 1?If the Entra ID flow is the only option after Dec 1, every publisher who automates publishing will need an Azure subscription to host the managed identity. Even if usage costs nothing, that means setting up a billing account, usually with a credit card. That's a real barrier for open source and hobbyist authors. Open VSX, npm, and PyPI support trusted publishing without requiring a paid cloud account.
Even a rough estimate would help us plan. Thanks.
trivikr commentedon Oct 12, 2026
FYI for those following: lyndaidaii from the Marketplace team confirmed in microsoft/vsmarketplace#2121 that they're working on trusted publishing from GitHub Actions, configured on
marketplace.visualstudio.com, with no Azure DevOps PAT.I've asked there for a timeline and whether the PAT deadline will be extended.
ci: add manual workflow to publish releases to the Marketplace
trivikr commentedon Oct 21, 2026
As per comment in related PR, maintainers are trying to make trusted publishing available on VS Code Marketplace by Fri, Oct 30th
microsoft/vscode-docs#10519 (comment)
ci(release): wait for Marketplace trusted publishing behind VSCE_TRUS…
benibenj commentedon Oct 28, 2026
It will be announced today
lyndaidaii commentedon Oct 28, 2026
It is available in latest stable version vsce, here is blog post. https://devblogs.microsoft.com/blog/trusted-publishing-visual-studio-marketplace/, Please let me know if any feedback with this new feature.
BenjaminBrienen commentedon Oct 28, 2026
It did not work using vsce 4.0.0
https://github.com/wgsl-analyzer/wgsl-analyzer/actions/runs/40771739339/job/123115445477
but it does work with vsce 4.1.0
https://github.com/wgsl-analyzer/wgsl-analyzer/actions/runs/40779751706/job/123141139479
Thanks for the help.
lyndaidaii commentedon Oct 28, 2026
Remco Haszing (@remcohaszing), We’re working on staged publishing for Visual Studio Marketplace and will share more details as they become available. maybe open a separate issue for staged publishing. Thanks.
ci(vscode-extension): take vsce 4.1.0 for the trusted publishing exch…
ci(vscode-extension): publish the tested VSIX to the Marketplace by t…
cevheri commentedon Oct 30, 2026
Confirming trusted publishing works end to end from GitHub Actions with a GitHub environment, using
@vscode/vsce4.1.0.Setup: the policy on the publisher names the owner, repo, workflow file and the environment
vscode-marketplace, which has required reviewers and accepts only release tags. The publish job hasid-token: write, runs in that environment, and callsvsce publish --oidc --packagePath <vsix>on the VSIX the earlier gates tested. No Marketplace secret is stored. The workflow change is libredb/libredb-studio#1919.Run: https://github.com/libredb/libredb-studio/actions/runs/41137115534 (published
libredb.libredb-studio0.4.1). The policy page shows it as used by that run.Thanks for shipping this before the PAT deadline.
DanTup commentedon Nov 5, 2026
lyndaidaii is there a way to set a trusted publisher policy against an individual extension (to ensure only
Org/Repo1can publishorg.extension1)? I can only see settings against the Publisher, and the form has no option to specify the extension for each policy.