Supabase.Storage.create_signed_url

You're seeing just the function create_signed_url, go back to Supabase.Storage module for more information.
Link to this function

create_signed_url(conn, path, expires_in)

View Source

Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds.

Notes

  • Policy permissions required:
    • buckets permissions: none
    • objects permissions: select

Example

Supabase.storage()
|> Supabase.Storage.from("avatars")
|> Supabase.Storage.create_signed_url("public/avatar1", 60)