# Architecture Source: https://docs.onebucket.io/concepts/architecture How the Adaptive Data Fabric™ presents every backend as one logical bucket — placement, caching, and access over S3 and MCP. OneBucket sits between your clients and your backends. Clients speak **S3** or **MCP** to a single endpoint; OneBucket resolves each request to wherever the data actually lives — cloud, on-prem, or edge — and moves or caches data according to policy. OneBucket holds no data itself: it sits in front of the storage you already own. ## The Adaptive Data Fabric™ The fabric is the core abstraction: **location-independent access to unstructured data**. It operates at the API layer, stateless and lightweight, applying policy-driven routing, caching and movement to each call. It has three jobs: * **Connect natively** — native S3 and MCP interfaces reach every cloud, on-prem, and edge source, with no application changes. * **Place by policy** — policy-driven placement and adaptive movement keep data in the right place at the right time. * **Access anywhere** — intelligent caching and replication make distributed data feel local. Your applications see **one logical bucket namespace**. Behind it, objects may live in AWS S3, Azure Blob, Google Cloud Storage, Wasabi, Akave, on-prem, edge, or air-gapped stores — and may move between them without the client noticing. ## Four layers One layer sits between your data and everything that reads it: | Layer | What it does | | - | - | | **Protocol** | The only surface clients see: the S3 gateway and the MCP servers. | | **Data** | Every read and write, plus replication, migration and prefetch in the background. | | **Control** | Organizations, keys, endpoints, and one [policy](/concepts/policies) per bucket. | | **Events** | Every call recorded, scoped to organization and key, for audit. | Applications, agents, analytics engines and people (through the web explorer) talk S3 or MCP to the protocol layer. Behind it, OneBucket talks S3 or Azure Blob to your backends in the cloud, on-premises, at the edge, or air-gapped. ## Access interfaces OneBucket exposes three endpoints. Each has a **global** hostname, which routes every request to the live region nearest the caller, and a **regional** form that pins a specific region: | Interface | Global | Regional | | - | - | - | | S3 gateway | `s3.onebucket.io` | `s3..onebucket.io` | | Data MCP | `data.onebucket.io` | `data..onebucket.io` | | Events MCP | `events.onebucket.io` | `events..onebucket.io` | Regions today are `us-ashburn-1`, `us-sanjose-1` and `ap-singapore-1`; see [Endpoints](/reference/apis#endpoints). Your policy is active in every region, so the global hostnames are the right default; pin a region only when you need requests to land in a specific location. **`s3.` — the data plane.** The full S3 API with AWS SigV4 auth: buckets, objects, multipart uploads, versioning, and presigned URLs. This is what applications, SDKs, and S3 tools talk to — see [S3 API compatibility](/reference/s3-api). **`data.` — objects over MCP.** An MCP server that gives AI agents the object operations in natural language: list, read, and upload objects, presign URLs, and copy, move, migrate, prefetch, or locate them across backends — see the [MCP overview](/mcp/overview). **`events.` — events over MCP.** An MCP server for what *happened*: list, get, and tail the events your OneBucket emits, filterable by time, bucket, and action — the audit and monitoring companion to `data.`. Both MCP endpoints authenticate through the OneBucket authorization server at `oauth.onebucket.io`, using standard OAuth 2.1 with PKCE; the S3 gateway uses your access key / secret key pair. See [Sign-in](/mcp/overview#sign-in). ## Placement and movement Objects are placed and moved by policy rather than by hand: * **Policy-driven placement** decides which backends hold a bucket's objects, per bucket. * **Adaptive movement** relocates data as access patterns and policies change. * **Explicit operations** — `copy`, `move`, and `migrate` — let you relocate objects across backends on demand. These run asynchronously: they return once queued, so a destination may not be readable immediately. * **`locate`** reports which configured backends currently hold an object. ## Caching and replication To cut egress cost and latency, OneBucket serves repeat reads locally: * **Edge caching** keeps hot objects close to where they are read. * **Prefetch** warms the cache ahead of demand (`prefetch` via MCP, or as part of policy). * **Replication** keeps copies in multiple backends where policy requires it. ## Governance and audit Access control is enforced once, at the fabric — one policy layer across every backend. Every operation is scoped to your organization and access key; cross-organization access is not possible. Detailed **events** stream from the events endpoint, so you can audit activity with `list_events`, `get_event`, and `tail_events`, filterable by time, bucket, and action. ## Next steps > **[S3 API compatibility](/reference/s3-api)** > > What the S3 gateway supports and how to authenticate. > **[OneBucket MCP](/mcp/overview)** > > Give AI native access to the fabric over MCP. # Federation Source: https://docs.onebucket.io/concepts/federation How OneBucket presents object stores across clouds, on-prem and edge as one namespace, and where identity, credentials and regions fit. Federation is what OneBucket does at its core: it presents object storage you already own, across clouds, on-premises and edge, as **one namespace** behind one S3 endpoint and one MCP server. The backends stay where they are and keep their own credentials. OneBucket holds no data of its own; bytes stream through it. ## What can be federated Any object store OneBucket can reach over **S3** or the **Azure Blob** protocol can be an [endpoint](/setup#add-an-endpoint): | Kind | Examples | | - | - | | Public cloud | AWS S3, Azure Blob Storage, Google Cloud Storage | | Cloud object storage | Wasabi, Akave, Seagate Lyve Cloud and other S3-compatible services | | On-premises | Dell object storage, Seagate Exos, or any S3-compatible store | | Edge and air-gapped | S3-compatible stores at edge sites or in isolated networks | Platforms such as Snowflake and Databricks connect to OneBucket over S3 and read the whole namespace through one endpoint; see the [Databricks](https://www.onebucket.io/see-it-work/databricks) and [Snowflake](https://www.onebucket.io/see-it-work/snowflake) walkthroughs. > [!NOTE] > > OneBucket federates **object** storage. File shares over NFS or SMB are out of scope unless they are already exposed through an S3 gateway, and an endpoint must be reachable from wherever OneBucket runs. ## One namespace Clients see buckets and keys, never backends. A [policy](/concepts/policies) maps each OneBucket to its peer buckets, and every request resolves against it: * **Listing** a bucket merges what its peers hold into one view. Each object carries its `locations`, the backends that hold it. * **Reads** are served from a peer that holds the object, following the policy's sequence, or from a cache peer when one is warm. * **Writes** land on the peers the policy names, with the quorum it sets. * **`locate`** reports which backends hold a given object, for audit or troubleshooting. The namespace stays stable while backends change underneath it: adding, draining or retiring a backend is a policy edit, not a client change. See the [CloudPools migration guide](/guides/cloudpools-migration) for a worked example. ## Identity and credentials Federation separates who a client is from what a backend needs. | Layer | Credential | Held by | | - | - | - | | Client over S3 | OneBucket access key, SigV4 | The client | | Client over MCP | OAuth 2.1 token with PKCE, bound to one audience | The MCP client | | OneBucket to backend | The endpoint's own key or account | OneBucket's vault only | Backend credentials are never handed to clients, so an application or an agent can work across several clouds without holding a single cloud key. Revoking a OneBucket key or session cuts access everywhere at once, without rotating anything on the backends. ## Organizations An **organization** is the unit of isolation. Each has its own users, access keys, endpoints and policies, and every operation is scoped to one organization and one key; cross-organization access is not possible. Use separate organizations to keep environments or projects fully apart. Everything that defines a federation, from keys to backends to policies, can be set up in the console or through the [management API](/reference/apis#management-api), so the whole configuration can live in your own scripts and pipelines. ## Regions and global endpoints OneBucket runs in multiple regions, today `us-ashburn-1`, `us-sanjose-1` and `ap-singapore-1`, with more coming online. Your policies are active in every region. | Endpoint | Behavior | | - | - | | `https://s3.onebucket.io` | Global. Each request is routed to the live region nearest the caller. | | `https://s3..onebucket.io` | Pinned to one region, for example `https://s3.us-ashburn-1.onebucket.io`, for when requests must land in a specific place. | The MCP endpoints follow the same pattern; the full list is in [APIs](/reference/apis#endpoints). > [!NOTE] > > The region a request lands on decides where it is processed, not where data is stored. Storage location is decided by the policy's peer buckets. For data residency, set both: pin the region and place the peers in the jurisdiction. ## Deployment The same software runs as SaaS, in your VPC, on-premises, or fully air-gapped. It ships as a container image and a Helm chart for Kubernetes. Federation works identically in each: what changes is where OneBucket runs, not how backends are joined. A OneBucket deployment can also be an endpoint of another one, for example an on-premises deployment federated into a SaaS namespace. This works with no special configuration, but each request then passes through both, which doubles the traffic on the path. ## Observing the federation Every request produces events: one **gateway** event for the request as the client made it, and one **backend** event for each endpoint it reached, all sharing a request ID. Together they show which backends served what, for whom, and with what result. See [Events](/mcp/overview#events). ## Related > **[Policies](/concepts/policies)** > > Modes, permissions, quorum and how to change them while serving. > **[Architecture](/concepts/architecture)** > > Access interfaces, placement, caching and governance. # Policies Source: https://docs.onebucket.io/concepts/policies How a policy maps one OneBucket to peer buckets at your endpoints, and how modes, permissions and quorum decide where reads and writes go. A **policy** is the rule behind every OneBucket. It names a OneBucket, maps it to one or more **peer buckets** at your [endpoints](/setup#add-an-endpoint), says how each peer takes part in reads and writes, and lists the **core access keys** allowed to use it. Clients never see any of this: they talk to one bucket over S3 or MCP, and the policy decides what happens behind it. Policies are created in the [OneBucket console](https://app.onebucket.io) (see [Setup](/setup) for the walkthrough) or through the [management API](/reference/apis#management-api), so policy changes can live in your own scripts and pipelines. Active policies apply account-wide, in every region. ## Anatomy of a policy | Part | What it sets | | - | - | | **OneBucket name** | The bucket name clients use. `*` matches any peer bucket at your endpoints, which suits clients that create and name their own buckets. Cannot be changed after creation. | | **Encoding** | Optional inline compression, `gzip` or `brotli`, applied as objects pass through. | | **Peer buckets** | One or more buckets at your endpoints that back this OneBucket, each with its own mode, permissions and credentials. | | **Sync quorum** | How many write-enabled synchronous peers must acknowledge a write before it succeeds. | | **Core access keys** | The OneBucket keys allowed to use this OneBucket over S3 or MCP. | ## Peer buckets Each peer bucket is configured independently. | Setting | Meaning | | - | - | | **Endpoint** | Which backend holds this peer, for example `AWS`, `WASABI`, or an on-prem store. | | **Access key** | The endpoint's own credential used to reach it. It stays in the OneBucket vault and is never given to clients. | | **Peer bucket name** | `*` keeps bucket names identical to the OneBucket name. A prefix or suffix, such as `backup-*`, renames buckets on this backend only. | | **Mode** | `sync`, `async` or `cache` (below). | | **Permissions** | Any combination of **Read**, **Write** and **Delete**. | | **Active** | Turns the peer on or off without deleting it. Deactivating is reversible. | | **Opportunistic replication** | Copies existing objects into this peer as they are read through OneBucket. | | **Required** | Forces every write to succeed on this peer, regardless of quorum. | | **Sequence** | The order in which OneBucket tries peers. | Every policy needs at least one synchronous peer. ### Modes > **sync** > > The write lands on this peer before the request returns. Counts toward the quorum. > **async** > > The write is acknowledged first and copied to this peer in the background. > **cache** > > Holds copies of what has been read or prefetched, so repeat reads are served locally. The source stays authoritative. ### Quorum and required peers The **quorum** is the minimum number of synchronous peers with write permission that must acknowledge a PUT for it to succeed. With three such peers, a quorum of `2` means a write survives one peer being unavailable; a quorum of `3` means every copy must land. The quorum is the dial between durability and latency, set per OneBucket. Marking a peer **Required** adds a hard rule on top: that specific peer must succeed, whatever the quorum says. Use it when one copy has to exist in a particular place, such as a jurisdiction. ## What a policy decides, and what it does not > [!NOTE] > > Placement is set **per OneBucket**, not per object. Every object in a OneBucket follows the same policy; objects are not routed individually by prefix, tag or content. To place data differently, put it in a different OneBucket with its own policy. Within that scope, a policy decides where writes land, which copies must exist before a write is acknowledged, where reads are served from, and which keys may do what. ## Changing a policy while it serves Policies can be edited at any time and take effect without touching clients: the endpoint, keys and application configuration stay the same. That is what makes these patterns a policy change rather than a project: * **Add a provider**: add a peer, turn on opportunistic replication, and it fills as data is read. * **Shift writes**: clear **Write** and **Delete** on one peer, and new objects go only to the others while it still serves reads. * **Retire a backend**: deactivate the peer, validate, then delete it. * **Restrict a key**: assign a key to a policy with read-only permissions, and its next write is refused, with the attempt visible in [events](/mcp/overview#events). > [!WARNING] > > Deleting a peer removes OneBucket's route to that backend. Objects that exist only there become unreachable through this OneBucket. Confirm the remaining peers hold what you need first. The [CloudPools migration guide](/guides/cloudpools-migration) walks through every one of these steps with screenshots. ## Keeping objects readable without OneBucket With the peer bucket name left as `*` and encoding off, objects are stored on each backend unchanged: same bucket names, same keys, same bytes. Any S3 client can read them directly from the backend, and you can remove OneBucket from the path at any time. Enabling encoding or a renamed peer bucket trades that property for compression or separation. ## Related > **[Federation](/concepts/federation)** > > How many backends become one namespace. > **[CloudPools migration](/guides/cloudpools-migration)** > > A real policy change, step by step: moving a cloud tier while it serves. # OneBucket Connector for ChatGPT Source: https://docs.onebucket.io/connectors/chatgpt Add OneBucket to ChatGPT as a custom MCP server: browse, read and manage objects and query activity, using your own credentials. OneBucket is a standard remote MCP server, so ChatGPT can use it the same way [Claude](/connectors/claude) does: list, read and manage the objects in your buckets, and query your OneBucket activity, with every call scoped to your organization and access key. ## What you can do Ask ChatGPT things like: * "List my buckets, then show what's in `reports/` in the `analytics` bucket." * "Read `notes/meeting.md` from `team-docs` and summarize it." * "Which backends hold `datasets/2026-q3.parquet`?" * "Give me a presigned download link for `builds/app.zip`." * "What happened in my OneBucket in the last 24 hours?" The tools, limits and sign-in details are the same for every client; see the [MCP overview](/mcp/overview). ## Requirements * A OneBucket account with at least one access key. [Request an account](https://app.onebucket.io/sign-up). * A ChatGPT plan and workspace that allow custom MCP servers. On Business, Enterprise and Edu workspaces, an admin may need to add or approve it. ## Server URLs | Endpoint | URL | | - | - | | Data (objects) | `https://data.onebucket.io` | | Events (activity) | `https://events.onebucket.io` | The global hostnames route you to the nearest live region. To pin a region, use its regional form, for example `https://data.us-ashburn-1.onebucket.io`; see [Endpoints](/reference/apis#endpoints). Add the events endpoint as a second server if you want ChatGPT to query activity. Enter the root URL only; `https://data.onebucket.io/mcp` will not connect. ## Connect it to ChatGPT **ChatGPT desktop app** **1. Open MCP settings** Go to **Settings → Plugins**, open the **MCPs** tab, and choose **Add**. **2. Enter the URL** Set **URL** to `https://data.onebucket.io`. Leave **Bearer token env var**, **Headers** and **Headers from environment variables** empty: OneBucket signs you in with OAuth, so no static token is needed. Select **Save**. ![OneBucket configured as an MCP server in ChatGPT desktop settings](https://mintcdn.com/onebucket/YX6tOkGlZ8413WsW/images/connectors/chatgpt-desktop-mcp.png?fit=max\&auto=format\&n=YX6tOkGlZ8413WsW\&q=85\&s=e3336a1aa5d17a22e10dc2ad08d2b7c0) **3. Sign in** When ChatGPT first connects, sign in to OneBucket and approve the requested access. **ChatGPT on the web** **1. Add a custom MCP server** Open **Plugins** on [chatgpt.com](https://chatgpt.com), select the **+** button, then **Add custom MCP server**. **2. Fill in the connection** Name it `OneBucket`. Under **Connection**, enter `https://data.onebucket.io` as the **Server URL**, and choose **OAuth** for authentication. **3. Create and install** Accept the warning, select **Create as a plugin**, then install the plugin from your personal plugins (or your workspace's). **4. Sign in and use it** Sign in to OneBucket and approve the requested access. In a new chat, type **@** and pick OneBucket. Then ask: *"List my OneBucket buckets."* ## How authentication works ChatGPT discovers the OneBucket authorization server from the MCP endpoint and signs you in with OAuth 2.1 and PKCE. Your OneBucket secret key and your backend credentials never reach ChatGPT. Every tool call is scoped to your organization and access key, and you can revoke the session at any time from your [OneBucket console](https://app.onebucket.io) or with `onebucket sessions` in the [CLI](/reference/cli). ## ChatGPT behavior * Read tools are marked read-only. ChatGPT treats every other tool as a write action and asks for confirmation before running it. * ChatGPT registers itself with OneBucket's authorization server through Dynamic Client Registration, so there is no client ID or secret to enter. * After an update to OneBucket's tools, refresh the plugin in ChatGPT's app settings to pick up the new tool list. ## Support * Email [support@attimis.co](mailto:support@attimis.co) or call +1-650-382-3274; we typically respond the same business day. * Support and regions: [onebucket.io/support](https://www.onebucket.io/support) * Live status: [status.onebucket.io](https://status.onebucket.io) * Privacy policy: [onebucket.io/privacy](https://www.onebucket.io/privacy) # OneBucket Connector for Claude Source: https://docs.onebucket.io/connectors/claude Connect Claude to your OneBucket over MCP — browse, read, and manage objects and query activity, using your own credentials. The OneBucket connector is a Model Context Protocol (MCP) server that lets Claude browse, read, and manage the objects in your buckets — and query your OneBucket activity — using your own credentials, with your explicit consent. ## What you can do Ask Claude things like: * "List my buckets, then show what's in `reports/` in the `analytics` bucket." * "Download `notes/meeting.md` from `team-docs` and summarize it." * "Upload this text as `drafts/summary.md` in `team-docs`." * "Copy `logo.png` to `archive/logo.png`, then delete the original." * "Give me a presigned download link for `builds/app.zip`." * "What happened in my OneBucket in the last 24 hours?" The tools, limits and sign-in details are the same for every client; see the [MCP overview](/mcp/overview). In Claude, read tools run without per-call confirmation and write tools ask first. ## Requirements * A OneBucket / Attimis account with at least one access key. [Request an account](https://app.onebucket.io/sign-up). The global MCP hostnames below work for every account and route you to the nearest live region. To pin a region, use its regional form, for example `https://data.us-ashburn-1.onebucket.io`; see [Endpoints](/reference/apis#endpoints). ## Connect it to Claude **1. Add the connector** In Claude, go to **Settings → Connectors → Add custom connector** (or find "OneBucket" in the directory once listed). **2. Enter the server URL** Provide the OneBucket **data** MCP URL — `https://data.onebucket.io`. To also query events, add the **events** endpoint `https://events.onebucket.io` as a second connector. **3. Sign in** Claude discovers the authorization server automatically (RFC 9728 / RFC 8414) and opens the OneBucket sign-in page. Sign in and approve the requested access — Claude completes an OAuth 2.1 authorization-code flow with PKCE, and your secret key never leaves OneBucket. **4. Try it** Ask: *"List my OneBucket buckets."* ## How authentication works The connector uses standard MCP OAuth: Claude discovers the OneBucket authorization server automatically and signs you in with OAuth 2.1 + PKCE — your secret key never leaves OneBucket. Every tool call is scoped to your organization and access key, and you can revoke access at any time from your [OneBucket console](https://app.onebucket.io). ## Support * Email [support@attimis.co](mailto:support@attimis.co) or call +1-650-382-3274; we typically respond the same business day. * Support and regions: [onebucket.io/support](https://www.onebucket.io/support) * Live status: [status.onebucket.io](https://status.onebucket.io) * Privacy policy: [onebucket.io/privacy](https://www.onebucket.io/privacy) # OneBucket Connector for Muse Source: https://docs.onebucket.io/connectors/muse Connect Muse to OneBucket so it can list, read and, with your approval, write or move your data. Connect Muse to your OneBucket account so Muse can list buckets and objects, read objects and, only with your approval, write or move data. The connection uses OAuth 2.1 with PKCE and Dynamic Client Registration: you do not create an application in advance, and you never paste a token or secret. Endpoints, sign-in details and the full tool list are on the shared [MCP overview](/mcp/overview). ## Before you start * A OneBucket account that can access at least one bucket. [Request an account](https://app.onebucket.io/sign-up). * Access to Muse chat, where you can approve a connector connection. | Setting | Value | | - | - | | MCP endpoint | `https://data.onebucket.io` | | Authorization server | `https://oauth.onebucket.io` | | Scope | `mcp` | | Resource | `https://data.onebucket.io` | > [!WARNING] > > Use the root URL exactly as shown. Do not use `https://data.onebucket.io/mcp`. ## Connect Muse to OneBucket **1. Ask Muse to connect** In Muse, ask to connect to `https://data.onebucket.io`, then click **Connect** on the OneBucket connector card. **2. Continue past consent** On the consent screen, click **Continue**. If Muse asks for a **Client ID**, follow [If Muse asks for a Client ID](#if-muse-asks-for-a-client-id), then come back. If no Client ID field appears, carry on. Both behaviors are normal. **3. Sign in** Sign in at `oauth.onebucket.io` with your OneBucket account and approve access for scope `mcp`. **4. Wait for confirmation** Keep the window open until Muse confirms the connection. ## If Muse asks for a Client ID Sometimes the **Add custom connector** dialog asks for a Client ID instead of registering a client itself. Ask Muse to register one first: ```text theme={null} Please register a client for me and give me the Client ID. ``` Muse registers a public client and returns a Client ID. Paste it into the **Client ID** field, click **Add**, and finish the sign-in steps above. > [!WARNING] > > Do not invent a Client ID or copy one from a screenshot, another person's setup or an old registration. Only a Client ID registered for Muse will complete the flow. ### Register the client manually If Muse cannot register the client, register a public client yourself, with no secret: ```bash theme={null} curl -X POST https://oauth.onebucket.io/register \ -H "Content-Type: application/json" \ -d '{ "client_name": "Muse", "redirect_uris": ["https://agent.meta.ai/api/hatch/oauth/callback"], "grant_types": ["authorization_code", "refresh_token"], "response_types": ["code"], "token_endpoint_auth_method": "none", "scope": "mcp" }' ``` A successful registration returns HTTP `201` with a `client_id`. Paste only that value into the **Client ID** field, click **Add**, and finish the sign-in steps. Registering a client does not connect Muse by itself; the authorization and token exchange happen after you enter the Client ID and approve consent. Register a new client only if the Client ID you entered is rejected, and never a second one for a connection that already works. ## Verify the connection Ask Muse: ```text theme={null} List buckets ``` Muse should return the buckets your account can reach, with the storage locations for each. After that you can list objects, read an object, check where an object is stored, or check recent events if you also connect the events endpoint. ## Connect events Storage events are a separate, read-only connection. Repeat the same flow with: | Setting | Value | | - | - | | MCP endpoint | `https://events.onebucket.io` | | Resource | `https://events.onebucket.io` | The authorization server and scope are the same. ## Troubleshooting | Problem | Fix | | - | - | | The connection fails, or Muse cannot reach the endpoint | Check the URL is exactly `https://data.onebucket.io`, with no `/mcp` and no trailing path, and start again. | | Muse asks for a Client ID | Ask Muse to register the client, or [register one manually](#register-the-client-manually). Enter only the `client_id` from the `201` response. | | The Client ID is rejected | Register a new public client with the values above and enter the new `client_id`. Do not reuse one from an old or unrelated registration. | | Authorization fails with a resource or audience error | The resource must be exactly `https://data.onebucket.io` (or `https://events.onebucket.io` for events). The client must request that exact value. | | Muse asks for a token, secret or password | Stop. Do not paste credentials into chat or a connector dialog. The flow uses OAuth consent and Muse stores the credential itself. | | A working connection now fails | Reconnect from Muse. If a Client ID field appears, try the Client ID from your working registration first, and register a new one only if it is rejected. | ## Disconnect Disconnect Muse at any time in Muse **Settings**. This removes Muse's access; it does not delete any bucket or object. ## Support * Email [support@attimis.co](mailto:support@attimis.co) or call +1-650-382-3274; we typically respond the same business day. * Support and regions: [onebucket.io/support](https://www.onebucket.io/support) * Live status: [status.onebucket.io](https://status.onebucket.io) * Privacy policy: [onebucket.io/privacy](https://www.onebucket.io/privacy) # Migrate CloudPools from AWS to Wasabi Source: https://docs.onebucket.io/guides/cloudpools-migration Put OneBucket in front of PowerScale CloudPools, then move the cloud tier from AWS S3 to Wasabi without reconfiguring the OneFS cluster. PowerScale CloudPools tiers cold file data to a single cloud storage account. Changing providers normally means recalling everything you tiered back onto the cluster and sending it out again to the new target — a capacity problem, a change window, and a migration project in one. Putting a OneBucket™ between OneFS and your object stores removes that constraint. CloudPools talks to one endpoint that never changes, and you add, drain, and retire backends behind it from the OneBucket console. ## What this buys you > **No rehydration** > > Not one tiered file comes back to the cluster. The stubs never change. > **No downtime** > > No change window. CloudPools keeps serving reads and writes the whole way. > **No migration project** > > No bulk copy job to scope, schedule, run, and reconcile. > **No lock-in** > > When it's done, you can point CloudPools straight at Wasabi and drop OneBucket from the path entirely. Each of those is unpacked at the end. The steps come first. This guide does both halves in order: > **Part 1** > > Point an existing CloudPools account at OneBucket, with AWS S3 as the only backend. > **Part 2** > > Add Wasabi alongside AWS, shift writes over, and retire the AWS backend. ## Before you start * Admin access to your [OneBucket console](https://app.onebucket.io) and to the OneFS web UI. * Access keys for each backend — the AWS keys CloudPools already uses, and a Wasabi Access Key ID and secret. * An existing CloudPools cloud storage account. This guide edits one rather than creating it from scratch. > [!NOTE] > > The screenshots show OneFS 9.15.0.0 on cluster`garage43`. Menu paths are stable across recent 9.x releases, but exact labels can differ. ## Part 1: Put OneBucket in front of CloudPools **1. See where CloudPools points today** In OneFS, go to **Storage → Storage Pools (SmartPools)** and open the **CloudPools** tab. Select your cloud storage account and choose **Edit**. This is the starting point: an **Amazon S3** account whose **URI** is a regional AWS endpoint, using the AWS **User name (key)** CloudPools has been writing with. **Storage region** is pinned to that region. Leave this dialog open — you come back to it in the last step of Part 1. ![Edit cloud storage account details in OneFS, pointing at an AWS S3 regional endpoint](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/01-01-cloudpools-aws-s3.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=3049cc2c0aa6463dab67d2e17c7a3f40) **2. Collect your OneBucket credentials** In the OneBucket console, open **Credentials**. Note two things: the **S3** endpoint shown at the top of the page — the URL CloudPools will use — and the **Access Key ID** of an active S3 credential. If you have no credentials yet, select **Add Credentials** and create an S3 pair first. See [Set up your OneBucket](/setup) for the full walkthrough. > [!WARNING] > > Secret keys are shown only once, at creation. Copy or download the secret before you leave the page. ![The Credentials page, showing the S3 endpoint and an active access key](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/01-02-onebucket-creds.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=38d0f561a5eefe481b6c2fd02cdcdf5c) **3. Add an Endpoint for each backend** Open **Endpoints**. Each Endpoint is one object store OneBucket can reach. Add both providers now, even though only AWS will carry data at first — having Wasabi defined in advance makes Part 2 a policy change rather than a setup task. For each, select **Create Endpoint** and enter the name, URL, protocol, and bucket style, then that store's own access keys. ![The Endpoints page with AWS and WASABI defined, both S3, both virtual-hosted](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/01-03-onebucket-endpoints.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=44a2536b335b0c841423d42a71108073) **4. Open the Policies page** A policy maps one OneBucket™ to one or more **Peer Buckets** at your Endpoints. Open **Policies** and select **Create Policy**. ![The Policies page before any policy exists](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/02-01-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=9188cbdc9f6fd0fbc86f267992268be0) **5. Name the OneBucket™ (step 1 of 4)** Enter a bucket name, or `*` to match any Peer Bucket at your Endpoints. `*` is the right choice for CloudPools, which creates and names its own buckets. Optionally select **Gzip** or **Brotli** under **Available Encoding**, then select **Next**. > [!WARNING] > > The OneBucket™ name cannot be changed after the policy is created. ![Create Policy wizard step 1, with the OneBucket name set to an asterisk](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/02-02-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=c25939b2df9d991f313ab9f66e301a72) **6. Add your first Peer Bucket (step 2 of 4)** Select **Add Peer Bucket**. At least one Peer Bucket must be synchronous. ![Create Policy wizard step 2, prompting for at least one Peer Bucket](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/02-03-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=6c70b952d36415b0ada5d2d95c4a5f12) **7. Configure AWS as a synchronous peer** Choose **Synchronous** so every write lands on AWS before the request returns, and leave **Active** on. Under **Permissions**, select **Read**, **Write**, and **Delete** — CloudPools needs all three. Set **Endpoint** to `AWS`, optionally enter a **Region**, and select the AWS **Access Key ID**. Set **Peer Bucket** to `*` to keep bucket names unchanged, then apply. ![Peer Bucket settings: Synchronous, full permissions, AWS endpoint](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/02-04-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=3c52790c4442304a27c0b03ff3f23524) **8. Review the peer list** The peer appears as `*` on `AWS`, type `sync`, active. Select **Next**. ![One synchronous AWS peer listed in the wizard](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/02-05-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=fa7b1c9aa176822dbbbb6851dced84d3) **9. Set the sync quorum (step 3 of 4)** **Quorum** is the minimum number of synchronous Peer Buckets with write access that must acknowledge a PUT for it to succeed. With one peer, the only value is `1/1`. Marking a peer **Required** forces every PUT to succeed on that specific peer, regardless of quorum. Select **Next**. ![Sync Quorum set to 1 of 1 for the single AWS peer](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/02-06-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=a19caa1bc6ce3f10a20eaad8b9f1c173) **10. Authorize the core keys (step 4 of 4)** Select the **Core Access Key(s)** allowed to use this OneBucket™ — including the key CloudPools will authenticate with. Select **Create Policy**. ![Selecting core access keys in step 4 of the wizard](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/02-07-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=f3d4943de482141e6b1539d6683a67df) **11. Confirm the policy is live** The policy now shows one Core Key, a Quorum of `1`, and a single `sync` peer on `AWS`. Active policies apply automatically. ![The created policy with one synchronous AWS peer](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/02-08-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=61896571cdbb165d677797fcad7ada9b) **12. Repoint the CloudPools account at OneBucket** Return to the OneFS **Edit cloud storage account details** dialog and change: | Field | New value | | - | - | | **Name or alias** | Something recognizable, such as `OneBucket` | | **URI** | Your OneBucket S3 endpoint, for example `https://s3.us-ashburn-1.onebucket.io` | | **User name (key)** | Your OneBucket Access Key ID | | **Key (secret key)** | The matching secret | | **Storage region** | `Default` — OneBucket resolves placement itself | Leave **Account ID** and **Telemetry reporting bucket** as they are. Select **Save**; **State Details** confirms the account revalidated using AWS signature version 4 authentication. ![The OneFS cloud account repointed at the OneBucket S3 endpoint](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/03-cloudpools-onebucket-s3.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=9e2b8efe571a6ff35d07e3b1d4a3ec4e) > [!TIP] > > CloudPools now writes through OneBucket to AWS. Nothing has changed from the cluster's point of view — and this is the last time you edit anything in OneFS. ## Part 2: Move the cloud tier to Wasabi Everything from here happens in the OneBucket console. OneFS keeps pointing at the same endpoint with the same credentials throughout. **1. Open the policy for editing** On **Policies**, select the gear icon on your policy to open **Update Policy**. The dialog exposes the same four stages as the wizard — **OneBucket™**, **Peer Bucket**, **Sync Quorum**, and **Core Keys** — as tabs you can revisit in any order. Open the **Peer Bucket** tab. Today it lists one `sync` peer on `AWS`. ![The Update Policy dialog showing a single AWS peer](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/03-01-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=63ad9b519535820b968d5bf33a491be1) **2. Add Wasabi as a second synchronous peer** Select **Add another Peer Bucket**. Choose **Synchronous**, leave **Active** on, and grant **Read**, **Write**, and **Delete**. Select **Turn on opportunistic replication** so OneBucket populates Wasabi as objects move through it, rather than requiring a separate bulk copy. Set **Endpoint** to `WASABI` and select the Wasabi **Access Key ID** you registered with that Endpoint. ![Adding a synchronous Wasabi peer with opportunistic replication enabled](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/03-02-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=9513f3137f5988222f9a77e9b00f5364) **3. Set the peer bucket name and apply** Scroll to **Peer Bucket** and enter `*` to keep bucket names identical across providers. You can instead add a prefix or suffix — `backup-*`, for example — to rename buckets on this backend only. Select **Apply**. ![The Peer Bucket field set to an asterisk before applying](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/03-03-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=f74ec56216f91859fb16a19c70286bba) **4. Demote AWS to read-only** Edit the AWS peer and clear **Write** and **Delete**, leaving **Read** selected. New objects now go only to Wasabi, while anything not yet replicated is still served from AWS. **Replication** and **Compression** grey out once the peer can no longer be written to, and so do its Endpoint and key fields. ![The AWS peer with only Read permission, replication greyed out](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/03-04-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=c133a8483b0b472a49d1e8eec2ae0cff) **5. Confirm both peers** The **Peer Bucket** tab now lists AWS in sequence `1` and Wasabi in sequence`2`, both `sync` and both active. Sequence controls the order OneBucket tries peers — drag a row by its handle to change it. Select **Apply changes**. ![Both AWS and Wasabi peers listed as active synchronous peers](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/03-05-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=c34bc3907e87ec8abe4f8602a6a5d246) **6. Verify the policy** The policy summary shows two active `sync` peers. **Quorum** is still`1`, so a write succeeds as soon as one synchronous peer with write access acknowledges it. > [!NOTE] > > Don't wait for tiering activity to fill Wasabi. Opportunistic replication only copies objects as they move through OneBucket — and CloudPools touches cold data rarely. A recall is read-only, and even when a file changes, CloudPools writes new objects and leaves the old ones in place until garbage collection, which defaults to years. **Drain AWS as its own step.** Use **flux**, OneBucket's asynchronous movement engine, to copy the AWS bucket to Wasabi in the background. OneBucket stays in front the whole time, so CloudPools keeps seeing one endpoint while the copy runs. Flux isn't required, either: any copy tool works because OneBucket fronts both buckets regardless. Leave the policy in this state until Wasabi holds everything you need. ![The policy listing two active synchronous peers](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/03-06-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=fad99c89d48377ee6e16ed38e0fe3be5) **7. Deactivate the AWS peer** When you're ready to stop reading from AWS, switch its **Active** toggle off in the policy list. A banner appears: **This policy includes disabled Peer Bucket(s)**. Deactivating is reversible — toggle it back on if reads start failing. ![The AWS peer deactivated, with a warning banner on the policy](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/04-01-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=54d5ef48b74b82c0c9e914749f77a363) **8. Confirm the peer is inactive** Reopen **Update Policy** and check the **Peer Bucket** tab. AWS shows as inactive, Wasabi as active. Run your validation here — list buckets, read a recalled file, write a new one — while the AWS peer can still be re-enabled. ![The Update Policy dialog with AWS inactive and Wasabi active](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/04-02-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=b7c2373b504cc51eee7929b250bb3cf2) **9. Delete the AWS peer** Select the trash icon on the AWS row and confirm **Delete**. > [!WARNING] > > Removing a Peer Bucket removes OneBucket's route to that backend. Objects that exist only on AWS become unreachable through this OneBucket™. Confirm Wasabi holds everything you need before you delete. ![The Delete Remote confirmation dialog](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/04-03-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=ca5d332e35905c551224519ce2571b0b) **10. Confirm Wasabi is the only peer** One `sync` peer remains on `WASABI`. Select **Apply changes**. ![The Update Policy dialog with Wasabi as the only peer](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/04-04-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=3b49127295d7662efc69e26439e2c172) **11. Verify the finished policy** The policy shows a single active `sync` peer on`WASABI`, and the warning banner is gone. ![The final policy with Wasabi as the only active peer](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/04-05-policy.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=9dc21e484ee771698370d42f178d829a) > [!TIP] > > CloudPools is now tiering to Wasabi. The OneFS cloud storage account still points at the same OneBucket endpoint with the same credentials it had at the end of Part 1 — it was never touched during the migration. ## Why not point CloudPools straight at Wasabi? You can. Editing the same OneFS dialog to use a Wasabi URI and Wasabi keys is a valid way to change providers. ![A OneFS cloud storage account pointed directly at Wasabi](https://mintcdn.com/onebucket/fUC0rxB50q9n4F86/images/05-01cloudpools-wasabi-s3.png?fit=max\&auto=format\&n=fUC0rxB50q9n4F86\&q=85\&s=43a9b12e90231339a3948295bbfb4548) What it does not do is move your data. Every file CloudPools has already tiered is a stub on the cluster pointing at an object in the *old* account. Change that account's target, and the stubs still reference AWS. To actually leave AWS, you have to bring the data home and send it out again: recall every tiered file back onto the cluster, then re-tier it to Wasabi. That is the expensive part, and it is expensive three ways at once. | | Cost of a recall-and-re-tier | | - | - | | **Capacity** | The cluster needs enough free space to hold data it deliberately tiered off. | | **Time and egress** | Every object crosses the wire twice — cloud to cluster, cluster to cloud — and you pay AWS egress on the way in. | | **Risk** | It is a change window, with stubs being rewritten while users are reading through them. | The timing is what makes the difference. Make this edit *as* your migration, and you pay the table above. Make it *after* OneBucket has already moved the data and it costs nothing — see **No lock-in** below. ## What this bought you Going through OneBucket, none of that happened. > **No rehydration** > > Not one tiered file came back to the cluster. > **No downtime** > > No change window. CloudPools served reads and writes throughout. > **No migration project** > > No copy job to scope, schedule, run, and reconcile. **No rehydration.** The stubs never changed, because the endpoint they point at never changed. `s3.us-ashburn-1.onebucket.io` was the target before the swap and after it. Which provider sits behind that name is a policy detail the cluster never sees — so there was nothing to recall and nothing to re-tier, and the cluster needed no spare capacity to absorb it. **No downtime.** No cutover moment to schedule. AWS served reads while Wasabi filled; both served reads once Wasabi was warm, and Wasabi served them alone at the end. Every step in Part 2 was a toggle you could flip back, right up until you deleted the AWS peer. **No migration project.** Opportunistic replication seeded Wasabi with everything CloudPools touched, and flux drained the cold remainder behind the bucket. The copy never involved the cluster or a maintenance calendar — the only judgment call was when Wasabi held enough for AWS to go. **No lock-in.** OneBucket does not have to stay in the path. Because the policy used `*` as the Peer Bucket name and no encoding, the objects now in Wasabi carry the same bucket names and the same keys they had on AWS. So once Wasabi holds a complete copy, you open that OneFS dialog one final time, point it straight at Wasabi with your Wasabi keys, and CloudPools resolves its existing stubs against Wasabi directly. The edit that was expensive as a migration method costs nothing as a postscript. Which is the part worth saying plainly: the thing that made the move safe is not something you are then stuck with. Keep OneBucket for what it does next — a third provider, a cache tier, spreading reads, the next move. Remove it if you would rather not have it in the data path. Either way the migration is done, and it was done without a recall. > [!TIP] > > Tested end to end: stubs written through OneBucket resolve correctly once the CloudPools account points straight at Wasabi. It relies on the objects being stored unchanged — keep the Peer Bucket as `*` with no prefix or suffix, and leave policy encoding off. > [!NOTE] > > Data still has to cross from AWS to Wasabi, and you still pay egress once for the objects that move. The difference is that it happens behind the bucket, on its own schedule, while both providers keep serving — instead of through the cluster, in a window, with capacity set aside for it. **And it is repeatable.** Adding a third provider, splitting reads across two, or reversing this entire move is the same handful of policy edits. CloudPools keeps tiering exactly as designed — it just gains a cloud tier that is no longer a single fixed destination. ## Next > **[Set up your OneBucket](/setup)** > > Credentials, Endpoints, and policies from scratch. > **[Architecture](/concepts/architecture)** > > How placement, caching, and quorum work behind the bucket. # Introduction Source: https://docs.onebucket.io/index One S3- and MCP-native endpoint to all your data — across cloud, on-prem, and edge, with no copying or rearchitecting. OneBucket gives your AI and applications a single endpoint to **all** your data — across cloud, on-prem, and edge — over the two protocols they already speak: **S3** and **MCP**. No copying, no migrations, no rearchitecting. ## Why OneBucket Less than 10% of enterprise data is reachable by AI today (IDC, Data Age 2025). The rest is scattered across clouds, on-prem systems, and the edge — too costly to move and too slow to use, so projects stall at the proof-of-concept stage. OneBucket presents every backend as one logical bucket, so your data stays where it lives and becomes usable everywhere: orchestrate, don't migrate. OneBucket holds no data itself. It runs as SaaS, live the moment your account is ready, or in your VPC, on-premises, or fully air-gapped. ## How it works OneBucket is built on the **Adaptive Data Fabric™** — location-independent access to unstructured data: * **Connect natively** — native S3 and MCP interfaces reach every cloud, on-prem, and edge source, with no application changes. * **Place by policy** — policy-driven placement and adaptive movement keep data in the right place at the right time. * **Access anywhere** — intelligent caching and replication make distributed data feel local. ## What you can do * **Use it as S3** — point any S3 client or SDK at your OneBucket endpoint. Full AWS SigV4 auth, buckets, objects, multipart uploads, versioning, and presigned URLs. * **Give AI native access** — connect Claude, ChatGPT, Muse or any MCP client to browse, read, and manage objects and query OneBucket activity in natural language. * **Span every backend** — federate AWS S3, Azure Blob, Google Cloud Storage, Wasabi, Akave, on-prem, edge, and air-gapped stores behind one namespace, then copy, migrate, or locate objects across them. Platforms like Snowflake and Databricks read it all through the same S3 endpoint. * **Cut egress and latency** — cache at the edge and prefetch hot objects so reads are local. * **Govern and audit** — enforce one policy-based access control and stream detailed events. ## Real results Rivet Industries used OneBucket to put data next to its GPU cloud: 30% more GPU utilization and AWS egress spend down to roughly zero, with no compliance compromise. Read the [case study](https://www.onebucket.io/see-it-work/rivet), or see the [use cases](https://www.onebucket.io/use-cases) for the patterns teams use most. ## Get started > **[Quickstart](/quickstart)** > > Connect an S3 client or an AI assistant and read and write your first object in minutes. > **[Connect an AI assistant](/mcp/overview)** > > Give Claude, ChatGPT, Muse or any MCP client native access to your buckets. # OneBucket MCP Source: https://docs.onebucket.io/mcp/overview Endpoints, sign-in and the full tool list for the OneBucket MCP servers, shared by every MCP client. OneBucket runs two remote MCP servers: **data**, for objects, and **events**, for activity. Any MCP client that supports remote servers with OAuth can use them. This page covers what is the same for every client; the client pages cover only how to add the server. > **[Claude](/connectors/claude)** > > Add OneBucket as a custom connector. > **[ChatGPT](/connectors/chatgpt)** > > Desktop app and web. > **[Muse](/connectors/muse)** > > Connect from Muse chat. ## Endpoints | Server | Global | Pinned to a region | | - | - | - | | Data (objects) | `https://data.onebucket.io` | `https://data..onebucket.io` | | Events (activity) | `https://events.onebucket.io` | `https://events..onebucket.io` | Regions today are `us-ashburn-1`, `us-sanjose-1` and `ap-singapore-1`, for example `https://data.us-ashburn-1.onebucket.io`. The full list is in [Endpoints](/reference/apis#endpoints). > [!WARNING] > > Use the root URL exactly as shown. The MCP service is served at the root, so `https://data.onebucket.io/mcp` will not connect. Global hostnames route each request to the nearest live region, and your policies are active in every region. Pin a region only when requests must land in one place. The two servers are separate connections: connecting data does not give access to events. ## Sign-in Both servers use standard MCP authorization: OAuth 2.1 with PKCE. Clients discover the authorization server from the MCP endpoint (RFC 9728 and RFC 8414), so in most clients you only enter the URL. | Setting | Data | Events | | - | - | - | | Authorization server | `https://oauth.onebucket.io` | `https://oauth.onebucket.io` | | Scope | `mcp` | `mcp` | | Resource | `https://data.onebucket.io` | `https://events.onebucket.io` | | Client registration | Dynamic (DCR) at `https://oauth.onebucket.io/register` | Same | * **No pre-registered app.** Clients register themselves through Dynamic Client Registration as public clients, with no secret. * **No pasted tokens.** Never paste a token, secret or password into a chat or a connector dialog. Leave bearer-token and header fields empty. * **Exact resource.** The resource sent in the authorization, token and refresh requests must match the endpoint exactly. Tokens are bound to that one audience. * **Scoped and revocable.** Every call is scoped to your organization and access key. Revoke a session at any time from your [OneBucket console](https://app.onebucket.io) or with `onebucket sessions` in the [CLI](/reference/cli). Disconnecting a client removes its access; it never deletes buckets or objects. ## Tools Every data tool is governed by the [policy](/concepts/policies) of the bucket it touches. Read tools are annotated read-only, so clients can run them without asking; clients ask for confirmation before write tools. ### Reading | Tool | Parameters | Returns | | - | - | - | | `list` | `bucket`, `prefix`, `delimiter`, `max_keys`, `continuation_token` | Buckets, or objects in a bucket. Each item carries `locations`, the backends that hold it. Omit `bucket` to list buckets. | | `head` | `bucket`, `key` | Content type, size, ETag, last modified and custom attributes, without the content. | | `get` | `bucket`, `key` | The content inline when small enough (see [limits](#limits)), otherwise a presigned GET URL. | | `presign` | `bucket`, `key`, `method` (`GET` or `PUT`) | A URL valid for about one hour, for transfers that bypass the model. | | `locate` | `bucket`, `key` | Which configured backends hold the object. S3 endpoints are probed with a HEAD; other endpoints are listed but not probed. | ### Writing | Tool | Parameters | Behavior | | - | - | - | | `put` | `bucket`, `key`, `content`, `content_type` | Inline text upload; omit `content` to get a presigned PUT URL for larger or binary files. | | `create` | `bucket` | Creates a bucket. | | `copy` | `source_bucket`, `source_key`, `dest_key` | Copies to a new key in the same bucket. Asynchronous. | | `move` | `source_bucket`, `source_key`, `dest_key` | Renames within the same bucket; the source is deleted only after the copy lands. Asynchronous. | | `migrate` | `bucket`, `key`, `target_endpoint`, `source_endpoint` | Copies the object to a named backend and keeps the source. `source_endpoint` defaults to the origin sync endpoint. Asynchronous. | | `prefetch` | `bucket`, `key` | Warms the cache so the next read is local. Asynchronous. | | `delete` | `bucket`, `key` | Deletes an object, or the bucket itself when `key` is omitted. | > [!WARNING] > > `delete` and `move` are destructive: `move` removes the source object, and `delete` without a key deletes the bucket. Approve each write explicitly, and check the current state with a read before retrying a write that failed or timed out. ### Events The events server is read-only. Each request produces one **gateway** event for the request as the client made it, plus one **backend** event for each endpoint it reached; all share one `reqId`, and backend events carry the `endpoint`. Filter or group by layer so one transfer is not counted twice. | Tool | Parameters | Returns | | - | - | - | | `list_events` | `since`, `until`, `bucket`, `action`, `status`, `statusCode`, `accessKey`, `user`, `limit`, `cursor` | Events, most recent first, with a `nextCursor` when more exist. | | `get_event` | `eventId` | One event. | | `tail_events` | `cursor`, `limit`, `waitSeconds` | New events, oldest first. Long-polls until events arrive; always returns a `nextCursor`. | | Filter | Values | | - | - | | `status` | `ok` (served), `denied` (401 or 403), `error` (any status 400 or above) | | `action` | An S3 action, for example `s3:PutObject` | | `since`, `until` | RFC 3339 timestamps. `since` defaults to 24 hours ago. | | `limit` | 1 to 100, default 50 | | `waitSeconds` | 0 to 360, default 60 | Only gateway events name the caller, so filtering by `accessKey` or `user` returns gateway events only. ## Limits | | Limit | | - | - | | Inline `get`, text | 512 KB | | Inline `get`, image and audio | 700 KB | | Inline `get`, PDF and other binary | 10 KB | | Inline `put` | 700 KB of UTF-8 text | | Presigned URL validity | About one hour | Above these limits, the tool returns a presigned URL so the transfer goes directly between the client and OneBucket, bypassing the model. `copy`, `move`, `migrate` and `prefetch` return once the job is queued, so a destination may not be readable for a short time. ## Verify a connection Start with a read-only request, which proves the connection without changing data. Ask your assistant: *"List my OneBucket buckets."* It should return the buckets your key can reach, with the backends that hold each one. # Quickstart Source: https://docs.onebucket.io/quickstart Connect an S3 client or Claude and read and write your first object in minutes. ## Prerequisites * A OneBucket account — [request one](https://app.onebucket.io/sign-up). * Live configuration: **credentials**, an **endpoint**, and a deployed **policy** connecting them together. First time here? Do the one-time [setup](/setup) first. * From [OneBucket console](https://app.onebucket.io): your **S3 endpoint** and an **access key / secret key** pair. > [!NOTE] > > Use the global endpoint `https://s3.onebucket.io`: each request is routed to the live region nearest you, and your policy is active in every region. To pin a region, use its endpoint, for example `https://s3.us-ashburn-1.onebucket.io`; see [Endpoints](/reference/apis#endpoints) for the full list. ## Use it as S3 OneBucket speaks the S3 API with AWS SigV4 auth, so any S3 client or SDK works — just change the endpoint. **AWS CLI** ```bash theme={null} # Credentials aws configure set aws_access_key_id aws configure set aws_secret_access_key export OB=https://s3.onebucket.io # global, routes to your nearest region # Create a bucket, upload, list, and read back aws --endpoint-url $OB s3 mb s3://my-first-bucket echo "hello from onebucket" > hello.txt aws --endpoint-url $OB s3 cp hello.txt s3://my-first-bucket/hello.txt aws --endpoint-url $OB s3 ls s3://my-first-bucket/ aws --endpoint-url $OB s3 cp s3://my-first-bucket/hello.txt - ``` **boto3 (Python)** ```python theme={null} import boto3 s3 = boto3.client( "s3", endpoint_url="https://s3.onebucket.io", # global, routes to your nearest region aws_access_key_id="", aws_secret_access_key="", region_name="us-east-1", ) s3.create_bucket(Bucket="my-first-bucket") s3.put_object(Bucket="my-first-bucket", Key="hello.txt", Body=b"hello from onebucket") print(s3.get_object(Bucket="my-first-bucket", Key="hello.txt")["Body"].read().decode()) ``` Because it's standard S3, the same endpoint and keys work with SDKs in any language, `s3cmd`, rclone, and most S3-compatible tools. ## Connect an AI assistant Prefer to work in natural language? Add OneBucket as an MCP server and let your assistant list, read, and manage your objects for you. Any MCP client works; see the [MCP overview](/mcp/overview). > **[OneBucket Connector for Claude](/connectors/claude)** > > Add `data.onebucket.io` as a custom connector, sign in, and ask Claude to work with your buckets. > **[OneBucket Connector for ChatGPT](/connectors/chatgpt)** > > Add `data.onebucket.io` as a custom MCP server, sign in, and ask ChatGPT to work with your buckets. > **[OneBucket Connector for Muse](/connectors/muse)** > > Ask Muse to connect to `data.onebucket.io`, sign in, and work with your buckets. ## Manage keys and tokens (CLI) The `onebucket` CLI handles authentication and tokens — your data operations go through the S3 client above. ```bash theme={null} onebucket login # OAuth browser sign-in onebucket keys # list your access keys onebucket sessions # list or revoke active sessions onebucket logout # clear the stored login ``` ## Next steps * **Automate with AI** — [connect an MCP client](/mcp/overview) for natural-language access to your data. * **Watch it** — the [get started walkthrough](https://www.onebucket.io/see-it-work/get-started-with-onebucket) goes from a new account to a first working policy on video. * **Span backends** — copy, migrate, and locate objects across clouds, on-prem, and edge from the same client. * **Cut egress** — prefetch hot objects into the edge cache so repeat reads are served locally. # APIs Source: https://docs.onebucket.io/reference/apis Every interface OneBucket exposes: the S3 API, MCP tools for data, the events API, and the management API. OneBucket exposes four interfaces. Applications and engines use **S3**; agents use the **data MCP** tools; audit and monitoring use **events**; and everything you configure in the console is also available through the **management API**. | Interface | For | Auth | | - | - | - | | [S3 API](/reference/s3-api) | Applications, SDKs, query engines, backup tools | Access key, AWS SigV4 | | [Data MCP](/mcp/overview#tools) | AI agents and assistants | OAuth 2.1 with PKCE | | [Events MCP](/mcp/overview#events) | Audit, monitoring, troubleshooting | OAuth 2.1 with PKCE | | [Management API](#management-api) | Keys, endpoints and policies as code | Issued on request | ## Endpoints Every region exposes an S3 endpoint and two MCP endpoints, one for data and one for events. The global endpoints work from anywhere: each request is routed to the live region nearest the caller. Use a regional endpoint when requests must be pinned to a location. Your policies are active in every region. | Region | S3 (objects) | MCP (data) | MCP (events) | | - | - | - | - | | Global | `s3.onebucket.io` | `data.onebucket.io` | `events.onebucket.io` | | `us-ashburn-1` (Ashburn) | `s3.us-ashburn-1.onebucket.io` | `data.us-ashburn-1.onebucket.io` | `events.us-ashburn-1.onebucket.io` | | `us-sanjose-1` (San Jose) | `s3.us-sanjose-1.onebucket.io` | `data.us-sanjose-1.onebucket.io` | `events.us-sanjose-1.onebucket.io` | | `ap-singapore-1` (Singapore) | `s3.ap-singapore-1.onebucket.io` | `data.ap-singapore-1.onebucket.io` | `events.ap-singapore-1.onebucket.io` | All endpoints use HTTPS. More regions are coming online; the current list is on the [support page](https://www.onebucket.io/support), and live availability is on the [status page](https://status.onebucket.io). ## MCP The data and events MCP servers share one sign-in model (OAuth 2.1 with PKCE, Dynamic Client Registration, authorization server `https://oauth.onebucket.io`) and one tool list, documented once for every client: > **[MCP overview & tools](/mcp/overview)** > > Endpoints, sign-in, every tool with its parameters, events, and limits. > **[Connect a client](/connectors/claude)** > > Step-by-step setup for Claude, ChatGPT and Muse. ## Management API Everything you set up in the console, from keys to backends to policies, can be done through the management API, so your setup can live in your own scripts and pipelines. The full API reference is available on request after [sign-up](https://app.onebucket.io/sign-up). ## Related > **[S3 API compatibility](/reference/s3-api)** > > Supported operations, addressing styles and errors. > **[Policies](/concepts/policies)** > > What governs every call these APIs make. # CLI reference Source: https://docs.onebucket.io/reference/cli The onebucket CLI — sign in, manage access keys, and control active sessions. The `onebucket` CLI handles **authentication and credentials**. Data operations (upload, download, list) go through any S3 client pointed at your endpoint — see the [Quickstart](/quickstart) — or through an AI assistant over [MCP](/mcp/overview). ## Commands ### `onebucket login` Sign in via OAuth in your browser. The CLI stores the resulting login locally and uses it for the commands below. ```bash theme={null} onebucket login ``` ### `onebucket keys` List your access keys — the key pairs used for S3 (SigV4) access. ```bash theme={null} onebucket keys ``` ### `onebucket sessions` List or revoke active sessions, including connector (MCP) authorizations. ```bash theme={null} onebucket sessions ``` ### `onebucket logout` Clear the stored login on this machine. ```bash theme={null} onebucket logout ``` ## Related * Access can also be revoked at any time from your [OneBucket console](https://app.onebucket.io). * MCP connectors authenticate with OAuth 2.1 + PKCE — see [How authentication works](/connectors/claude#how-authentication-works). # S3 API compatibility Source: https://docs.onebucket.io/reference/s3-api What the OneBucket S3 gateway supports — auth, buckets, objects, multipart, versioning, and presigned URLs. OneBucket speaks the standard S3 API with **AWS SigV4** authentication. Any S3 client or SDK works — just point it at your endpoint: ```text theme={null} https://s3.onebucket.io ``` The global hostname routes each request to the nearest live region. To pin a region, use its endpoint, for example `https://s3.us-ashburn-1.onebucket.io`; see [Endpoints](/reference/apis#endpoints) for every region. Your access key / secret key pair is in your [OneBucket console](https://app.onebucket.io). > [!NOTE] > > Because it's standard S3, the same endpoint and keys work with AWS SDKs in any language, the AWS CLI, `s3cmd`, rclone, and most S3-compatible tools. See the [Quickstart](/quickstart) for AWS CLI and boto3 examples. ## Authentication * **AWS Signature Version 4 (SigV4)** request signing, exactly as with AWS S3. * Credentials are the access key / secret key pairs from your console; manage them with `onebucket keys` in the [CLI](/reference/cli). * **Region: use `us-east-1`.** The region in your credential scope is used for signature derivation (as SigV4 requires), not for routing — the endpoint determines routing. The gateway is currently lenient about the region value, but don't rely on arbitrary names: configure `us-east-1` (empty and `auto` also resolve to it), and future releases may reject other values. ## Addressing styles Both S3 addressing styles are supported. The gateway first looks for a bucket prefix in the hostname, then falls back to the first path segment: | Style | Example | | - | - | | Virtual-hosted | `https://my-bucket.s3.onebucket.io/key` | | Path-style | `https://s3.onebucket.io/my-bucket/key` | > [!NOTE] > > Virtual-hosted style requires DNS resolution of bucket subdomains. If your environment can't resolve them, configure your client for path-style addressing (e.g. `s3.addressing_style = path` in boto3). ## Supported features | Area | Support | | - | - | | Bucket operations | Create, list, and delete buckets | | Object operations | PUT, GET, HEAD, DELETE, LIST (prefix, delimiter, paging) | | Multipart uploads | Supported for large objects | | Versioning | Supported | | Presigned URLs | Time-limited GET and PUT URLs (\~1 hour validity) | | Copy | Server-side copy; across backends, copies run asynchronously | ## OneBucket-specific behavior Behind the standard API, requests resolve against the [Adaptive Data Fabric™](/concepts/architecture): * A bucket is **logical** — its objects may be held by different backends (AWS S3, Azure Blob, GCS, Wasabi, Akave, on-prem, edge, air-gapped) while clients see one namespace. * Cross-backend `copy`, `move`, and `migrate` operations are **asynchronous**: they return once queued, and the destination may not be readable immediately. * Repeat reads of hot objects are served from the **edge cache**; prefetching keeps first reads fast too. * All activity is emitted as **events**, queryable over the events MCP endpoint. ## Errors The gateway returns standard S3 XML error responses (e.g. `NoSuchBucket`, `NoSuchKey`, `AccessDenied`), so existing SDK error handling works unchanged. # Set up your OneBucket Source: https://docs.onebucket.io/setup One-time console setup: create your credentials, add an Endpoint, and wire them together with a policy. OneBucket holds no data itself — your **Endpoints** (the object stores you already have: AWS S3, Azure Blob, GCS, Wasabi, Akave, on-prem, edge) do. Setup has three building blocks: **core keys**, the credentials your applications use to authenticate to OneBucket; **Endpoints**, each holding its own provider credentials; and **Policies**. A **policy** is a rule that maps one **OneBucket™** to one or more **Peer Buckets** at your Endpoints, so reads and writes signed with your credentials know where to go. This is a one-time setup in your [OneBucket console](https://app.onebucket.io), and it applies account-wide — in every region. Once deployed, any S3 client or MCP connector can use your OneBucket — see the [Quickstart](/quickstart). > [!TIP] > > Prefer configuration as code? Everything on this page, from keys to backends to policies, can also be done through the [management API](/reference/apis#management-api), so your setup can live in your own scripts and pipelines. **1. Create your credentials** These are your **core keys**. On the **Credentials** page, select **Add Credentials**. Pick **S3 protocol** or **Azure protocol**, then **Generate** an **Access Key ID / Secret Access Key** pair — or paste an existing one (at least 16 / 32 characters). Leave **Active** on, optionally enable **Download the credential upon creation**, and add a description so you recognize the key later. > [!WARNING] > > Secret credentials are shown only once — copy or download them right away. ![Add Credentials in the OneBucket console](https://mintcdn.com/onebucket/MrSaL6NnVHq77UZb/images/setup-credentials.png?fit=max\&auto=format\&n=MrSaL6NnVHq77UZb\&q=85\&s=df356d507fb25509572b2eb521962292) **2. Add an Endpoint** On the **Endpoints** page, select **Create Endpoint** and enter the backend's friendly name, URL(s), protocol (S3 or Azure), and bucket style (virtual-hosted or path). Then add the Endpoint's own credentials — an existing Access Key ID / Secret Access Key (S3) or Account Name (Azure) for that store, e.g. your Wasabi keys — so OneBucket can reach it. ![An Endpoint with its credentials](https://mintcdn.com/onebucket/MrSaL6NnVHq77UZb/images/setup-endpoint.png?fit=max\&auto=format\&n=MrSaL6NnVHq77UZb\&q=85\&s=f7b18f94607b7f98309f67ef5954aaa8) **3. Create a policy** On the **Policies** page, select **Create Policy** and follow the four-step wizard: name your OneBucket™ (`*` matches any Peer Bucket at the Endpoints — the name cannot be changed later) and pick optional encodings (Gzip, Brotli); map it to one or more Peer Buckets at your Endpoints; set privileges, mode (`sync`, `async`, or `cache`), and the write **Quorum** — how many Peer Buckets with write permission must succeed; finish by selecting the **Core Access Keys** authorized to access the OneBucket™. ![Create Policy wizard, step 1](https://mintcdn.com/onebucket/MrSaL6NnVHq77UZb/images/setup-policy.png?fit=max\&auto=format\&n=MrSaL6NnVHq77UZb\&q=85\&s=9924108049461adf0a5c385476bdaef1) ![Create Policy wizard, step 4 — select Core Access Keys](https://mintcdn.com/onebucket/MrSaL6NnVHq77UZb/images/setup-policy-keys.png?fit=max\&auto=format\&n=MrSaL6NnVHq77UZb\&q=85\&s=5bb45e3dc7b9980ddbfd81cc9b8df06b) **4. Deploy (coming soon)** For now, active policies are applied automatically. A dedicated **Deploy** step is coming soon: a deployment will be a collection of policies that run, and policies without at least one active Core Access Key or one active Sync Peer Bucket will be ignored. Prefer video? The [get started walkthrough](https://www.onebucket.io/see-it-work/get-started-with-onebucket) covers the same three steps. ## Next > **[Quickstart](/quickstart)** > > Read and write your first object over S3 or MCP.