Vercel Blob now supports private storage for sensitive files like contracts, invoices, and internal reports. Private storage requires authentication for all operations, preventing exposure via public URLs.
Public storage allows public reads for media assets, while private storage requires authentication.
Create a private store via the Storage dashboard or with the CLI:
CLI command
Private stores require the BLOB_READ_WRITE_TOKEN environment variable, automatically injected when using the SDK.
SDK installation
To upload, use put or upload with the access: 'private' option.
Upload example
To download, use the get method to stream files.
Retrieval example
Private storage is in beta on all plans with standard Vercel Blob pricing.
