> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read-only filesystem bridge

> Mount a directory exported by the Bijection filesystem bridge.

Run `bijection-filesystem serve` on the host that owns or mounts the volume.
Use the bridge build that serves protocol `bijection.filesystem.v2`. Configure
its root, permitted peers, TLS certificate, and bearer token. The
bridge's configured root is the filesystem authority for the connection.
The installation's direct egress policy must admit the reviewed HTTPS address.

Follow the [file app app guide](https://docs.bijection.com/integrations/native-sftp.md) and bind the SFTP app's `provider` with `filesystemDirectory("exports",
"files.example.com:8776", credential, label)`. Pass the same label to the receiver binder and as the app's `data`. Seal this credential.

```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{
  "protocol": "filesystem",
  "directory": "incoming",
  "token": "<bridge bearer token>",
  "trustedCertificate": "<optional PEM trust anchor>"
}
```

Use an empty directory for the bridge root. The certificate must verify for
the bound endpoint's name. The bridge admits only requests bearing its token
from its configured peers. This mode uses direct HTTPS.

Observations are keyed by relative file name. Each scan resumes strictly
after its last committed name and admits up to 2,048 directory entries in a
1 MiB listing response. Only regular files are read. The connector checks
the bridge's file revision and terminal status on each 24 KiB byte range.
Files up to 1 MiB are retained. Larger files receive metadata. Missing names
never cause deletions. The bridge accepts only read operations.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.