Documentation menu: Object Storage
S3 · Beta Updated

Object Storage

Enable Object Storage, create a bucket, get S3 keys from an API token, then upload your first file with aws-cli

Object Storage keeps files behind the S3 API. It works with any tool or library that lets you set an S3 endpoint, such as aws-cli, rclone, boto3 and the AWS SDK for JavaScript. It is in Beta; prices and limits are on the Object Storage pricing page.

Connection details#

Setting Value
Endpoint https://bkk1.xverstorage.com
Region bkk1
Addressing path-style (https://bkk1.xverstorage.com/<bucket>/<key>) and virtual-hosted-style
Access key Comes with an API token that has Object Storage permission, made under Account > API token

Enable it and create a bucket#

  1. In the console, open Storage → Object Storage and choose Enable Object Storage. Your account needs a verified identity and some credit.
  2. On the Buckets tab choose Create bucket. Use lowercase a-z, digits and hyphens, 3–63 characters. Names are unique across all users and cannot be changed.
  3. Open Account > API token and choose Create token. Under Object Storage pick Read only or Read and write, and every bucket or only some.
  4. The screen after it is made shows the Access Key ID, the Secret Access Key, the endpoint https://bkk1.xverstorage.com and the region bkk1. Copy them; the Secret Access Key is shown once, like the token.

S3 keys live on API tokens#

One token works with both the API and S3, so there is no second set of keys to look after.

  • Revoke a token, or let it expire, and its S3 key stops working at once.
  • Change the token's Object Storage permission on the API token page (read only instead of read and write, more or fewer buckets) and the S3 key follows within a few seconds.
  • Making a new token in place of an old one gives a new S3 key too.
  • Tokens made before 30 November 2026 have no S3 key; make a new token.
  • Access keys made earlier on the Object Storage page keep working until you delete them. They are listed, and can be deleted, on the API token page.

With xverctl, make a token with S3 keys from a terminal. The command prints the Access Key ID and Secret Access Key once. The token xverctl is signed in with needs at least the Object Storage permission and buckets you ask for:

Terminal
xverctl token create --name backup --storage write --bucket my-bucket

Upload your first file with aws-cli#

Create a profile called xver with the token's Access Key ID and Secret Access Key:

Terminal
aws configure --profile xver
# AWS Access Key ID: <ACCESS_KEY_ID>
# AWS Secret Access Key: <SECRET_ACCESS_KEY>
# Default region name: bkk1
# Default output format: json

Every command needs the endpoint in --endpoint-url:

Terminal
EP=https://bkk1.xverstorage.com
aws s3 ls --profile xver --endpoint-url $EP
aws s3 cp ./photo.jpg s3://my-photos/ --profile xver --endpoint-url $EP
aws s3 ls s3://my-photos/ --profile xver --endpoint-url $EP

S3 keys cannot create or delete buckets or make a bucket public; do those in the console or through the API.

During the Beta#

Next: Set up aws-cli and rclone · SDKs and temporary links · Public buckets and scoped keys