> ## 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.

# Files in your own bucket

> Read objects from S3, Cloud Storage, Azure Blob Storage or ADLS into labelled files.

The object storage source app, `@bijectionhq/app-objects`, reads one
object store you own and keeps its object versions as files and facts of
your app, at a label you choose. It is a mountable app: call it with your
label and a receiver bound to your bucket, and place it at a path.

```ts app.ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
import { app, label, secret } from "@bijectionhq/bijection";
import objects, { s3Bucket } from "@bijectionhq/app-objects";

const exports = label();
const key = secret();   // bijection secret set key
const bucket = s3Bucket({ bucket: "exports", region: "eu-west-1", prefix: "daily/" }, key, exports);

export default app({ exports, key, bucket, store: objects({ data: exports, provider: bucket }) });
```

The binders are `s3Bucket`, `gcsBucket`, `azureBlobContainer` and
`adlsDirectory`. Pass a writer receiver (`s3Writer`, `gcsWriter`,
`azureBlobWriter`, `adlsDirectoryWriter`) as `writer` to write back to the
store. The mount declares its `operator` role (`store.operator`, clearing
`exports`): grant it to whoever runs the source. Its functions take their
paths under the mount, such as `store.source.initialize`,
`store.versions.list` and `store.writes.put`.

`store.operator` is granted from code: `ctx.grant(store.operator, { to, under })` in one of your
mutations ([Grants](https://docs.bijection.com/access/grants.md)).

The provider guides give each store's scope, credentials and limits:
[S3](https://docs.bijection.com/integrations/native-s3.md), [Google Cloud Storage](https://docs.bijection.com/integrations/native-gcs.md),
[Azure Blob Storage](https://docs.bijection.com/integrations/native-azure-blob.md) and
[ADLS Gen2](https://docs.bijection.com/integrations/native-adls.md).


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