GET /storage/buckets/{id}/settings returns all of them. Over S3, changing settings needs a read_write access key with no folder limit.
Versioning
With versioning on, overwriting or deleting an object keeps the old copy as a version. Use it for anything where a bad upload or an accidental delete would hurt.- Turn it on when you create the bucket (Keep object versions) or later in Settings > Versioning.
- Once on, it can be suspended but not turned off. Existing versions are kept.
- Deleting an object adds a delete marker; the older versions stay until you delete them by version ID.
- Older versions count toward your storage. Pair versioning with a lifecycle rule that expires them.
Lifecycle rules
Lifecycle rules delete objects automatically: old logs, temporary exports, previous versions, unfinished uploads. Pxxl applies them every hour. The dashboard form covers the common cases. For each rule you set:
Over S3 you can also filter by tag or object size and expire on a fixed date. Up to 1,000 rules per bucket.
STANDARD.
Bucket policies
A bucket policy is a JSON document that opens or closes access for everyone, on top of access keys. Pxxl supports two uses:- Allow public reads of part of a private bucket.
Allowstatements may grant only these read actions:s3:GetObject,s3:GetObjectVersion,s3:GetObjectTagging,s3:ListBucket,s3:ListBucketVersionsands3:GetBucketLocation. - Deny actions for everyone, including requests made with access keys. For example, block deletes in a folder that must never change.
Anonymous reads allowed by a policy use the S3 endpoint with the bucket’s ID, for example
https://storage.pxxl.app/s3/BUCKET_ID/public/logo.png.
CORS
CORS rules decide which websites can call the bucket from a browser, for example to upload with a presigned URL or fetch files with JavaScript. With no rules, Pxxl answers anyhttp or https origin. Add rules to lock it down to your own sites:
Visibility and region
- Visibility (Settings > Visibility, or
pxxl storage update <id> --public|--private): a public bucket serves public objects at their public URL. Making a bucket private stops those URLs working at once. - Region:
PUT /storage/buckets/{id}/settings/regionwith{"region":"africa"}or{"region":"europe"}. See regions.
Encryption
Every object is encrypted at rest (SSE-S3, AES-256).GetBucketEncryption reports it; customer-provided and KMS keys aren’t supported.
