R
Railwayβ€’2y ago
Keziah

How can I create a set of PGSQL env keys that are read only?

Hello! I want to create a set of keys that will be used for read only operations only without any write permissions, is that possible? Thanks πŸ™
4 Replies
JustJake
JustJakeβ€’2y ago
Create a read only user and then add the envs to your service πŸ˜„
JustJake
JustJakeβ€’2y ago
Stack Overflow
How do you create a read-only user in PostgreSQL?
I'd like to create a user in PostgreSQL that can only do SELECTs from a particular database. In MySQL the command would be: GRANT SELECT ON mydb.* TO 'xxx'@'%' IDENTIFIED BY 'yyy'; What is the
JustJake
JustJakeβ€’2y ago
ezpz
Keziah
Keziahβ€’2y ago
Ooh perfect, thanks a ton!