from.createSignedUrl()
Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds.
1 final String signedUrl = await supabase
2 .storage
3 .from('avatars')
4 .createSignedUrl('avatar1.png', 60);
Notes#
- Policy permissions required:
buckets
permissions: noneobjects
permissions:select
Examples#
Create Signed URL#
1 final String signedUrl = await supabase
2 .storage
3 .from('avatars')
4 .createSignedUrl('avatar1.png', 60);