Allow secret environment variables values to be hidden from the dashboard UI #6592
The problemI have a Nextjs project on Vercel which contains environment variables that are highly sensitive, meaning that the values should not be exposed as plain text on the Vercel dashboard. Currently, anyone on the Vercel Team with access to the project can view the values by clicking the "show" icon like in this screenshot: The ideaAllow environment variables values to be permanently hidden from the dashboard so that once they're added, their plain text values can not be seen again. This could be just an optional checkbox when adding the variable through the dashboard UI. Vercel previously supported "secrets" which behaved just like this - they were encrypted and their values in the dashboard were displayed as |
Replies: 4 comments 5 replies
|
This is a major problem and I honestly don't know how this made it into production. We can no longer add contractors to our vercel environment because vercel now exposes all of our secrets to them without This breaks vercel for us and may result in us switching service provider despite loving the rest of the features. |
|
This seems like a huge flaw, please address ASAP! |
|
Looking back through some older projects, I can still see env variables that were added as secrets meaning that the value is never displayed in the UI. For these env variables, Vercel is still showing the old UI (where you can choose between "plaintext" and "secret"), which is exactly what I would like to still be able to do. |
|
You no longer need to specify the type of Environment Variable because all values are now encrypted by default. Previously, it was difficult to retrieve the encrypted value of the secret after it was created. With the new design, values are still encrypted but are more easily accessible and decrypted through the UI.
We will eventually be migrating all secrets to use the encrypted by default Environment Variables.
They're still encrypted at rest and in-transit 👍
We will be adding additional access/roles to lock down access in the dashboard for Vercel Teams. Note: You can still fetch Environment Variables locally with https://vercel.com/changelog/environments-variables-per-git-branch |



You no longer need to specify the type of Environment Variable because all values are now encrypted by default. Previously, it was difficult to retrieve the encrypted value of the secret after it was created. With the new design, values are still encrypted but are more easily accessible and decrypted through the UI.
We will eventually be migrating all secrets to use the encrypted by default Environment Variables.
They're still encrypted…