Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel Postgres: Select a different user for the connection string environment variables #418

Open
stabildev opened this issue Oct 11, 2023 · 1 comment

Comments

@stabildev
Copy link

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@....

@correttojs
Copy link
Collaborator

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

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

No branches or pull requests

2 participants