# Vercel CLI adds OIDC token exchange for short-lived access tokens

published: 2026-12-04T15:05:25.640Z
topic: identity
source: https://vercel.com/changelog/vercel-cli-supports-oidc-token-exchange
url: https://aiagentnews.io/stories/vercel-cli-adds-oidc-token-exchange-for-short-lived-access-tokens

Vercel CLI can now exchange OIDC tokens from trusted workloads, including GitHub workflows, for short-lived access tokens. The company recommends moving CI/CD workflows from personal access tokens to OIDC, though some CLI commands still require a user token.

Vercel says the CLI now accepts OIDC tokens from trusted workloads, including GitHub workflows, and exchanges them for short-lived Vercel CLI access tokens. The feature is called Workload Identity Federation (WIF), and the company presents it as a more secure option than long-lived Personal Access Tokens (PATs).

Access is governed by the team's OIDC policies rather than by an individual team member or their role. Each token grants only what its matching policy allows. Policies can be added under Settings, then Build and Deployment, then OIDC Policies, or with the new vercel oidc-policies command.

Vercel recommends migrating CI/CD workflows from PATs to OIDC. Some CLI commands still require a user token, so PATs cannot yet be removed everywhere.

## Why it matters if you build agents

Pipelines that deploy with the Vercel CLI can drop stored long-lived tokens and authenticate with short-lived credentials scoped by policy.

Because permissions come from the OIDC policy rather than a person's role, agent workflows running in CI should be given narrowly written policies. Commands that still need a user token will need a separate plan.
