Skip to content

Conversation

@motdotla
Copy link

Hi @kfiroo

This should allow you to use dotenvx with Vercel. It is working here:

https://test-vercel-dotenvx-sigma.vercel.app

It uses dotenvx.get(KEY) to decrypt just-in-time. It's a new feature of dotenvx - written about here.

@vercel
Copy link

vercel bot commented Feb 24, 2025

@motdotla is attempting to deploy a commit to the Kfir Golan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@motdotla
Copy link
Author

oh, but be sure to use your own .env file contents. I changed mine since I need to generate a .env.keys file.

@motdotla
Copy link
Author

and also make sure your DOTENV_PRIVATE_KEY is set on Vercel prior to build:

Screenshot 2025-02-24 at 10 41 44 AM

@kfiroo
Copy link
Owner

kfiroo commented Feb 25, 2025

@motdotla Awesome! Thanks! 💯
I see it is not documented in dotenvx docs, any reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants