Rotating db secrets picks up wrong branch

OhBerlin
Tue, 21 Apr 2026 12:32:21 +0000
Help

Hey, after your security incident I am trying to rotate the database secrets.

I cannot manually edit the environment variables related to the neon integration

When following your guide I am advised to “reset password” in Neon. This does not update the env variables in Vercel

I then discovered the “rotate secrets” button. This “works”, but it picks up either the wrong database or the wrong branch

So I end up with what seems to always be the last db or branch that was created

The only way out of this mess you made I currently see is to nuke all branches and dbs except the production branch, then rotate secrets again.

How can this be so buggy? Aren’t you like a big hoster?

6 posts - 3 participants