Supabase Storage /object/info with legacy API keys disabled #51279
|
I'm looking for clarification on Supabase Storage authentication with the newer API-key model. My project has intentionally disabled the legacy Current observations:
I have a deployment-readiness check that currently expects the legacy My question: With legacy API keys disabled, is I'm trying to determine whether my verification method needs to be updated for the new API-key model. I do not want to re-enable legacy keys or make unnecessary production changes. Thanks! |
Replies: 2 comments 3 replies
|
If you are using sb_secret_..... then you only put that in the apikey header if you are doing direct API requests. You can't put it in the authorization header. |
|
Those endpoints all work for me on my project using apikey with the sb_secret_... key. On the list one you do need to add the body with something like |
Those endpoints all work for me on my project using apikey with the sb_secret_... key. On the list one you do need to add the body with something like
{"prefix":"","limit":100,"offset":0,"sortBy":{"column":"name","order":"asc"}}