Home

Create signed URLs

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

const { data, error } = await supabase
  .storage
  .from('avatars')
  .createSignedUrls(['folder/avatar1.png', 'folder/avatar2.png'], 60)