Skip to main content
Technology Jun 02, 2026 4 min read 2 views

Vercel Blob Eliminates Long-Lived Tokens: OIDC Authentication Now Default

Vercel OIDC Blob Storage AI Development Cloud Security
Vercel Blob Eliminates Long-Lived Tokens: OIDC Authentication Now Default
Vercel Blob makes OIDC authentication default, removing long-lived BLOB_READ_WRITE_TOKEN. Short-lived tokens auto-rotate for AI developers. Upgrade pa

Vercel Kills Long-Lived API Keys for Blob Storage

Vercel Blob has made OIDC (OpenID Connect) authentication the default for new projects, effectively eliminating the need for long-lived BLOB_READ_WRITE_TOKEN strings. The update, announced on the Vercel Blog, represents a major security upgrade for developers using Vercel's object storage service. Existing stores can be upgraded by first updating to the latest @vercel/blob package, then navigating to the Projects tab and selecting Upgrade to OIDC from the context menu.

How OIDC Authentication Works

According to Vercel, the new system issues short-lived tokens that rotate automatically. Functions running on Vercel receive these tokens without manual configuration. This eliminates the static credentials that previously had to be stored in environment variables. For developers, this means no more rotating secrets or worrying about leaked tokens in logs or CI/CD pipelines.

The OIDC tokens are tied directly to the Vercel project and deployment, providing a verifiable identity that the Blob service can trust. Under the hood, Vercel's infrastructure handles token exchange and renewal, making it invisible to the developer — except for the improved security posture.

Why This Matters for AI Developers

For teams building AI-powered applications on Vercel, this change directly impacts data pipeline security. AI applications often process large volumes of images, documents, and training data stored in Blob. Previously, a leaked BLOB_READ_WRITE_TOKEN could give an attacker access to entire datasets. With OIDC, token compromise is no longer a systemic risk because tokens expire quickly and are scoped to specific deployments.

Consider a team building a RAG (Retrieval-Augmented Generation) system on Vercel. Their pipeline fetches documents from Blob, processes them with embedding models, and stores results. Under the old system, a developer accidentally committing a .env file to a public repo could expose the entire document store. With OIDC, even if a token leaks, it expires within minutes and cannot be reused from outside Vercel's infrastructure.

Developer Experience: The Migration Path

Upgrading an existing store requires two steps:

  • Update @vercel/blob to the latest version, which supports OIDC token exchange
  • Navigate to your Blob store in the Vercel dashboard, open the Projects tab, and select Upgrade to OIDC from the project's context menu

The upgrade is backward-compatible — tokens are issued automatically once the store is upgraded, and existing code using the @vercel/blob SDK continues to work without changes. However, any code that manually reads the BLOB_READ_WRITE_TOKEN environment variable will break, so developers should audit their codebase for direct token usage before upgrading.

Business Implications

For businesses running on Vercel, this change reduces operational overhead. No more scheduling token rotations, managing secret stores, or paying for Vault services just for Blob access. The zero-trust architecture means compliance teams can check a box for short-lived credentials without additional engineering work.

The move also aligns with broader industry trends. Cloud providers like AWS, Google Cloud, and Azure have been pushing OIDC-based authentication for years. Vercel is catching up, but doing so in a way that requires minimal configuration — which is consistent with their developer-first philosophy.

What's Not Changing

Developers using Blob from outside Vercel's runtime — such as during local development or from third-party services — still need a long-lived token for those contexts. Vercel recommends creating a separate token specifically for non-Vercel environments and rotating it regularly. The OIDC upgrade only applies to functions running on Vercel's own infrastructure.

Additionally, the @vercel/blob SDK must be used to take advantage of automatic token acquisition. Direct HTTP calls to the Blob API will not receive the OIDC token automatically; developers would need to fetch it from the Vercel environment themselves.

The Bottom Line

Vercel Blob's OIDC default is a meaningful security improvement that removes a common attack vector from the AI development stack. For teams already on Vercel, the migration is low-risk and provides immediate benefits. The era of hardcoded Blob tokens in .env files is ending — and that's a win for everyone building on this platform.

Source: Vercel Blog. This article was produced with AI assistance and reviewed for accuracy. Editorial standards.

Avatar photo of James Whitfield, contributing writer at AI Herald

About James Whitfield

James Whitfield is a senior software engineer with 8 years of experience building developer tools, CLI applications, and IDE extensions. He has contributed to open source projects including VS Code extensions and GitHub Actions workflows. Currently covers AI developer tools, coding assistants, and platform engineering for AI Herald.

Related articles