Vercel Blob 现已支持 OIDC 身份验证
来源: Vercel News
Vercel Blob now supports OIDC authentication and is the default setting when connecting new projects.
Vercel-issued OIDC tokens are short-lived and rotate automatically, so you no longer need a long-lived BLOB_READ_WRITE_TOKEN.
To upgrade an existing store, first update your project to use the latest @vercel/blob, then navigate to the Projects tab under your Blob store and select Upgrade to OIDC from the project's context menu.
Functions running on Vercel receive the token automatically and authenticate requests with it:
The Vercel CLI picks up the same environment variables once you update it, so you and your agents can read and write to a private store from your terminal without a long-lived token:
Read the documentation to get started.