dotenv-vault: Vercel integration doesn't work with Vercel Functions

By following the steps of Vercel integration, it only pull the corresponding .env file during the build process, which mean that the Vercel Functions will not able to access the .env during the runtime.

The workaround that I know is to use the deprecated Vercel integration instead, as it will insert all the ENV values into Vercel’s Enviroment Variables settings.

These are the stack that I tested on Vercel

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

I added a discussion here to ask Vercel. https://github.com/vercel/next.js/discussions/39705