Kotlin: Create a signed URL

Parameters

Examples

Create Signed URL

val bucket = supabase.storage.from("avatars")
val url = bucket.createSignedUrl(path = "icon.png", expiresIn = 3.minutes)

Create Signed URL with transformation

val bucket = supabase.storage.from("avatars")
val url = bucket.createSignedUrl(path = "icon.png", expiresIn = 3.minutes) \{
    size(100, 100)
    fill()
    quality = 80
\}