https://supabase.com/ logo
#off-topic
Title
# off-topic
b

Baptiste 👉 orbis.club

06/07/2022, 7:53 PM
Hey! Is it possible to create multiple API keys for the same project? If it's not any ETA on when that could be available?
s

silentworks

06/08/2022, 9:58 AM
At the moment this is not possible. Can you elaborate more on the use case for this please?
b

Baptiste 👉 orbis.club

06/08/2022, 10:01 AM
So I would like to allow external developers to be able to query my database (read-only) so I would like to be able to setup one api key per developer that I onboard
s

silentworks

06/08/2022, 10:14 AM
Is this for developers developing the project or are these developers (users) who are on the platform that you are creating?
b

Baptiste 👉 orbis.club

06/08/2022, 11:33 AM
It will be external developers building on top of our API but will some read only access
s

silentworks

06/08/2022, 11:38 AM
The API key you get for use with the
supabase-js
library only allows write if RLS is turned off, but once you turn that on you can define the rules for each user of your system and make them read only on such basis.
b

Baptiste 👉 orbis.club

06/08/2022, 2:09 PM
oh interesting but then they need to be logged in to perform queries?
Because queries are probably going to come from other websites
Or maybe the anon key is custom per user?