storage
storage copied to clipboard
Vercel Postgres: Select a different user for the connection string environment variables
To benefit from Row Level Security policies I am using a different user than the "default" user to connect to the database. It would be great to select this user for the auto generated environment variables instead of exposing the more privileged "default" user.
Example:
postgres://custom_user:custom_password@....
thanks @stabildev, that's a really good suggestion! we are planning to review the privileges of the tokens generated by default, both for KV and Postgres