Skip to content
Dashboard

Vercel CLI supports OIDC token exchange

Software Engineer

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