Alternative Methods to Use Vercel Storage in Custom Environments

Context:
Following up on a previous inquiry about Vercel Storage (Blob Store) and custom environments [ Cannot Connect Vercel Storage (Blob Store) to Custom Environment],
where it was confirmed that custom environments are not directly supported in the Storage settings UI. I’m now exploring alternative implementation possibilities.

Current Understanding:

  • Vercel Storage UI only supports Development, Preview, and Production environments
  • Custom environments (e.g., staging) cannot be selected in the Storage settings
  • Storage connection strings are environment-specific

Questions:

  1. Are there any workarounds or alternative methods to utilize Vercel Storage in custom environments, such as:

    • Using environment variables to override storage configurations
    • Programmatically setting storage endpoints
    • Utilizing Production/Preview storage configurations in custom environments
  2. If possible, what would be the recommended approach for implementing this, considering:

    • Security implications
    • Best practices for configuration management
    • Potential limitations or risks

Project Information:

  • Framework: Next.js
  • Storage Type: Blob Store
  • Custom Environment: staging
  • Current Storage Configuration: Connected to Production environment

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.