Skip to main content
Version: v1-dev

from.createSignedUrl()

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

  final String signedUrl = await supabase
.storage
.from('avatars')
.createSignedUrl('avatar1.png', 60);

Notes

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

Examples

Create Signed URL

  final String signedUrl = await supabase
.storage
.from('avatars')
.createSignedUrl('avatar1.png', 60);