Skip to content

Bring your own bucket

Keep the objects in your AWS S3, Cloudflare R2 or MinIO bucket and use Files on top.

Applies to EngineCloud
View as Markdown

A bucket in Files can store its objects in a bucket you own. Files keeps the metadata and applies policies, scanning and transforms; the bytes stay with you.

Your storageHow Files gets access
AWS S3an IAM role in your account that trusts Sypnia with an external id; Files never holds long-lived AWS keys
Cloudflare R2, MinIO, Backblaze B2, Wasabi, any S3-compatible servicean access key you create there, stored encrypted with the project’s key
Terminal
npx @sypnia/files buckets create invoices --storage s3://laespiga-invoices --role arn:aws:iam::123456789012:role/sypnia-files

Files writes under the prefix you choose and does not list or touch anything else in your bucket. Objects written into your bucket by other means are not visible to Files until you run files buckets import, which creates their metadata rows.

    Search pages, sections and terms