Source: Vercel Blog Published: DevelopersReprinted 中文 CLIOIDC
Summary
You can now exchange OIDC tokens from trusted workloads, including GitHub workflows , for short-lived Vercel CLI access tokens. This is known as Workload Identity Federation (WIF), and it's a more secure alternative to long-lived Personal Access Tokens (PATs). Your team's OIDC policies control what these tokens can do, not a specific team member or their role, and each token grants only what its policy allows. We recommend migrating CI/CD workflows from PATs to OIDC. Some CLI commands still require a user token. Get started by adding a Vercel CLI policy under Settings → Build and Deployment → OIDC Policies , or with the new vercel oidc-policies command. Learn more in the documentation . Read more
Original text(via Vercel Blog)
题图
You can now exchange OIDC tokens from trusted workloads, including GitHub workflows, for short-lived Vercel CLI access tokens. This is known as Workload Identity Federation (WIF), and it's a more secure alternative to long-lived Personal Access Tokens (PATs).
Your team's OIDC policies control what these tokens can do, not a specific team member or their role, and each token grants only what its policy allows.
We recommend migrating CI/CD workflows from PATs to OIDC. Some CLI commands still require a user token.
Get started by adding a Vercel CLI policy under Settings → Build and Deployment → OIDC Policies, or with the new vercel oidc-policies command.
Learn more in the documentation.
Contributors
Alice Hawthorne, Melkey Moksyakov, Bel Curcio
The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.
Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.