#How can I access two different vercel blob storages at the same time?

1 messages · Page 1 of 1 (latest)

haughty fiber
#

I have two vercel blob storages, one for image upload and the other for hosting static pictures.
I was connected to one blob storage by setting BLOB_READ_WRITE_TOKEN in the .env file. But I'm not sure how to connect to the other one.

proper harborBOT
#

Hi @haughty fiber. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

You can use multiple Vercel Blob stores in one Vercel project. Each Vercel Blob store can be accessed by multiple Vercel projects. However, the specific method to access two different Vercel Blob storages at the same time is not explicitly mentioned in the provided knowledge sources.

Typically, you would use the respective BLOB_READ_WRITE_TOKEN for each Blob store to access them. These tokens are unique to each Blob store and are used to authenticate your access. You might need to manage these tokens in your application logic to switch between the Blob stores as needed.

For more detailed instructions, you should refer to the official Vercel Blob SDK documentation or the Next.js documentation.

Sources:


Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: