Skip to main content
An existing MinIO bucket becomes a folder tree, with one file per object.

Setup

MinIO signs S3 requests with an access key that inherits its user’s policies. Create one with the mc client, signed in as an admin:
The last command prints the Access Key and Secret Key. Attach readonly instead of readwrite for a read-only mount. A MinIO Console that has the Access Keys page can create a key there too.
  • MinIO is self-hosted, so the endpoint is required and requests are path-style.

Connect

workspace.yaml

Layout

  • Each object key is a file path; folders are key prefixes, and the bucket holds no directory objects.
  • key_prefix (keyPrefix in TypeScript) mounts one subpath of the bucket as the root.
  • grep -r, find and du stop after 1000 files; a glob matching more, tar -c, cp -r and rm -r are refused.

Sample runs

On a write mount, redirects, cp, mv and rm change objects in the bucket. MinIO ignores copy and delete conditions, so under write: conditional Mirage refuses a cp or mv within the mount, a mv out of it, rm and find -delete; a cp or mv into it from another mount is a write and goes through. See S3-compatible VFSes.

SDK guides

Python

Every config field, the VFS.md and write support.

TypeScript

Every config field, the VFS.md and write support.