Kotlin: List all files in a bucket
- RLS policy permissions required:
buckets
table permissions: none
objects
table permissions: select
- Refer to the Storage guide on how access control works
Examples
List files in a bucket
val bucket = supabase.storage.from("avatars")
val files = bucket.list()