Easy way to rotate Postgres Env Vars
59023g
PROOP

2 months ago

Concerned ENV vars may've been exposed in NextJS security incident.

I'd like to rotate Postgres instance login, url, etc.

Is there an easy way to do this?

Solved$20 Bounty

Pinned Solution

Go to your service panel > Database > Credentials.

You should be able to regenerate a password there.

3 Replies

Go to your service panel > Database > Credentials.

You should be able to regenerate a password there.


0x5b62656e5d

Go to your service panel > Database > Credentials.You should be able to regenerate a password there.

59023g
PROOP

2 months ago

Perfect. Thank you


anarchistmanifesto
TRIAL

2 months ago

hey @59023g glad you got it sorted

just a heads up for next time or for anyone else reading this thread down the line

if you use Reference Variables in your other services like

${{ Postgres.DATABASE_URL }}

railway will automatically pick up the new password after a redeploy and saves you from having to copy paste the new connection string everywhere manually

nice catch on the quick fix @0x5b62656e5d


Status changed to Solved uxuz about 2 months ago


Loading...