Vercel Postgres: Select a different user for the connection string environment variables
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 595
- Forks
- 101
- Avg merge
- 2h 24m
- Merged PRs (30d)
- 1
Description
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@....
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the code that generates Vercel Postgres connection-string environment variables, then trace how the selected database user is represented; done means a chosen custom user produces the generated variables instead of the default user while preserving the requested connection format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgres, typescript
- Domain
- databases, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100