Skip to content
AnchrasDocumentation
Browse documentation

Data and storage / User guide

Object storage

Create buckets and scoped credentials for application assets, artifacts, and S3-compatible data.

On this page

Before you begin

Connect a supported object-storage account or a reachable S3-compatible endpoint. Select a bucket profile and region allowed by your organization policy.

Get started

  1. Create a bucket with the desired profile, region, and supported settings.
  2. Wait for provider creation to finish and inspect the returned endpoint.
  3. Generate credentials with the minimum required read or write access.
  4. Configure your application or S3 client with the exact endpoint, bucket name, and credentials, then test an object round trip.

Operate the service

Keep endpoint and region settings with application configuration and store credentials securely. Rotate or revoke credentials when consumers change. Review objects, backups, and dependent workloads before deleting a bucket.

Availability and limits

Provider capability varies. Bring-your-own MinIO uses an existing endpoint; automatic managed MinIO tenant provisioning is not supplied by that integration. Azure Blob and S3-compatible endpoints have different client/protocol requirements.

A node bucket (anchras buckets create --node <node>) needs no storage account: Anchras runs the bucket store on a disk you handed to Anchras with anchras disk adopt and serves it at a private name on your tailnet. Node buckets are in preview; see Get started.

Troubleshooting

For authorization errors, verify credential scope and bucket ownership. For signature or endpoint errors, check region and client endpoint settings. A private endpoint must be reachable from the application runtime.

Next steps

Use the CLI guide to automate repeatable work, or the API guide to integrate Anchras with your own tools.

CLI commands

Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.

CommandPurpose
buckets list / get / describe / create / update / delete / grant / revokeProvider-backed object bucket inventory and scoped credential policy operations via ObjectStorageService; honors -o json|yaml|table. A bucket lives in a project: list shows one (--project) and create takes --project. list filters by --cloud-account-id, --region and --search (bucket name or provider bucket id substring). create --region-id <region-id> names the region you expect the bucket in, checked against where the bucket is placed and refused when it disagrees. update --versioned=false disables versioning; omitting --versioned leaves it unchanged. ensure and credentials <list|create|delete> remain compatibility aliases. On a node bucket, once the tailnet policy names anchras.com/cap/data (ADR-079), grant (and a credential's rotation), browse and object also need a data grant for the caller, and refuse naming the policy; credentials list marks a credential (out of policy) when a later policy save no longer lets its creator mint it (it keeps working; its next rotation is refused).
buckets create --node <node> --name <bucket>Create the bucket in the node's bucket store (ADR-077 §6) instead of a cloud account: a single-drive RustFS the node's agent runs on one of its node disks (--disk; default: the disk that has a store, else the only one, else the one with the most room). The first node bucket on a disk creates its store, sized by --store-size (default: half the disk's free room); while it starts (the first start pulls the RustFS image) the command waits, up to --wait (default 10m). The bucket's endpoint is the store's private name on your tailnet, http://anchras-s3-<store id>.<tailnet>: plain HTTP with SigV4 inside the WireGuard-encrypted overlay, nothing on the node's LAN or public interfaces. --quota-gib is a hard quota (default: the store's size, and never more). Credentials are RustFS service accounts scoped to the bucket (buckets grant). A host container on any of the organization's nodes reaches the endpoint by name: the node's agent resolves store names to its container network gateway and forwards them over the tailnet (ADR-077 §7 amendment). Every container on such a node can reach the endpoint, so the scoped credential is the guard. anchras bucket is the same command group.
buckets stores list / get <store> / delete <store>Node bucket stores, or one node's (--node; --all includes deleted ones): node, disk, state, size, bucket count and private name (pending until the tailnet Service is published; get says why). delete stops the store and deletes its data after you type the node's name (or --yes); it is refused while the store holds buckets. A store on an offline node is refused unless --forget, which removes the record and leaves the data on the disk.

API reference

Browse procedures, request and response types, and download the complete OpenAPI contract.