Creates a signed URL for a file. Use a signed URL to share a file for a fixed amount of time.
buckets
table permissions: noneobjects
table permissions: select
The file path, including the file name. For example `"folder/image.png"`.
The number of seconds until the signed URL expires. For example, `60` for URLs which are valid for one minute.
undefined
response = (
supabase.storage
.from_("avatars")
.create_signed_url(
"folder/avatar1.png",
60
)
)
response = (
supabase.storage
.from_("avatars")
.create_signed_url(
"folder/avatar1.png",
60,
\{"transform": \{"width": 100, "height": 100\}\}
)
)
response = (
supabase.storage
.from_("avatars")
.create_signed_url(
"folder/avatar1.png",
60,
\{"download": True\}
)
)