Vercel + Neon + RLS
I'm using Neon postgres integration with Vercel. I need to be able to set the "role" for the auto-generated database URLs that are added to my vercel project ENV.
I need to configure this because right now the URLs from the integration use the full admin db.
I'm trying to use the authenticated role for RLS. How can I do this? I can't find where to configure the role for this integration in Vercel or in Neon.
1 Reply
extended-salmon•4mo ago
In the Neon Console, you can go the Connect modal and select the
authenticated
role from the dropdown