Skip to main content
Version: v0

from.createSignedUrl()

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

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

final signedURL = res.data;

Notes

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

Examples

Create Signed URL

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

final signedURL = res.data;