Documentation menu: Object Storage
S3 · Beta Updated

Public buckets and scoped keys

Make a bucket publicly readable, the URL format, and one API token (with its S3 keys) per job

A public bucket lets anyone with the link read its files without a key. Good for product photos, CSS/JS files or documents meant to be published.

Make a bucket public#

  1. In the console, open Storage → Object Storage and pick the bucket.
  2. Under Public access, turn on Allow public reads and confirm.
  3. Copy the bucket's Public URL.

Files are read at:

https://<bucket>.bkk1.xverstorage.com/<key>
https://my-site-assets.bkk1.xverstorage.com/images/logo.png
  • Every file in the bucket, including later uploads, becomes publicly readable.
  • Visitors can open files but cannot list the bucket.
  • Writing and deleting still need an S3 key with read and write permission.
  • Turn the switch off and public links stop working at once.

One key per job#

S3 keys come with API tokens. Make one token per job under Account > API token, and give it the Object Storage permission and buckets that job needs.

Job Permission Buckets
Server backups Read and write The backup bucket only
Web app that uploads images Read and write The images bucket only
Read-only reporting script Read only The buckets it reads
Admin tools Read and write Every bucket
  • An "every bucket" token also works on buckets created later.
  • Revoke a token and the apps using its key lose access at once; other tokens are unaffected.
  • Change a token's Object Storage permission or its buckets later, and the same key follows within a few seconds; nothing changes in the app.
  • Up to 50 active tokens and 100 buckets per account.