Skip to content

stratumctl objectstorage

Manage S3 object storage — buckets, access keys, objects

Terminal window
stratumctl objectstorage [flags]

Aliases: s3, object-storage

Manage per-project S3 access keys

Terminal window
stratumctl objectstorage access-keys [flags]

Aliases: access-key, keys

stratumctl objectstorage access-keys create

Section titled “stratumctl objectstorage access-keys create”

Issue an S3 access key (the secret is shown ONCE)

Terminal window
stratumctl objectstorage access-keys create [flags]
Terminal window
stratumctl objectstorage access-keys create
stratumctl objectstorage access-keys create --display-name terraform
Flag Type Default Description
--display-name string Human-friendly label
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

stratumctl objectstorage access-keys delete

Section titled “stratumctl objectstorage access-keys delete”

Revoke an S3 access key

Terminal window
stratumctl objectstorage access-keys delete <access-key-id> [flags]
Terminal window
stratumctl objectstorage access-keys delete K3M9X2ABQT7K2M9X4QAB
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

stratumctl objectstorage access-keys get-secret

Section titled “stratumctl objectstorage access-keys get-secret”

Retrieve an access key’s secret (audited, Critical)

Terminal window
stratumctl objectstorage access-keys get-secret <access-key-id> [flags]
Terminal window
stratumctl objectstorage access-keys get-secret K3M9X2ABQT7K2M9X4QAB
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

List a project’s S3 access keys (never secrets)

Terminal window
stratumctl objectstorage access-keys list [flags]
Terminal window
stratumctl objectstorage access-keys list
stratumctl objectstorage access-keys list --output json
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

Manage S3 buckets

Terminal window
stratumctl objectstorage buckets [flags]

Aliases: bucket

Set a bucket’s canned S3 ACL (–allow-public for a public-* ACL)

Terminal window
stratumctl objectstorage buckets acl <bucket-id> <private|public-read|public-read-write|authenticated-read> [flags]
Terminal window
stratumctl objectstorage buckets acl bkt-6k2m8x4q7a private
stratumctl objectstorage buckets acl bkt-6k2m8x4q7a public-read --allow-public
Flag Type Default Description
--allow-public bool false Accept a public-* ACL (grants anonymous access)
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

Create an S3 bucket (desired-state; the reconciler provisions RGW)

Terminal window
stratumctl objectstorage buckets create <name> [flags]
Terminal window
stratumctl objectstorage buckets create app-assets
stratumctl objectstorage buckets create app-assets --region lab-1 --tag env=prod
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)
--region string Region (optional)
--tag stringArray Tag key=value (repeatable)

Delete an S3 bucket (use –force to purge a non-empty bucket)

Terminal window
stratumctl objectstorage buckets delete <bucket-id> [flags]
Terminal window
stratumctl objectstorage buckets delete bkt-6k2m8x4q7a
stratumctl objectstorage buckets delete bkt-6k2m8x4q7a --force
Flag Type Default Description
--force bool false Force-purge: delete ALL objects + versions before removing (destructive)
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

stratumctl objectstorage buckets encryption

Section titled “stratumctl objectstorage buckets encryption”

Set a bucket’s default server-side encryption (AES256=SSE-S3, aws:kms=SSE-KMS)

Terminal window
stratumctl objectstorage buckets encryption <bucket-id> <none|AES256|aws:kms> [flags]
Terminal window
stratumctl objectstorage buckets encryption bkt-6k2m8x4q7a AES256
stratumctl objectstorage buckets encryption bkt-6k2m8x4q7a none
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

Describe an S3 bucket (incl. client endpoint URLs)

Terminal window
stratumctl objectstorage buckets get <bucket-id> [flags]
Terminal window
stratumctl objectstorage buckets get bkt-6k2m8x4q7a
stratumctl objectstorage buckets get bkt-6k2m8x4q7a --output json
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

stratumctl objectstorage buckets lifecycle

Section titled “stratumctl objectstorage buckets lifecycle”

Manage a bucket’s lifecycle rules

Terminal window
stratumctl objectstorage buckets lifecycle [flags]

stratumctl objectstorage buckets lifecycle clear

Section titled “stratumctl objectstorage buckets lifecycle clear”

Remove all lifecycle rules from a bucket

Terminal window
stratumctl objectstorage buckets lifecycle clear <bucket-id> [flags]
Terminal window
stratumctl objectstorage buckets lifecycle clear bkt-6k2m8x4q7a
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

stratumctl objectstorage buckets lifecycle get

Section titled “stratumctl objectstorage buckets lifecycle get”

Show a bucket’s lifecycle rules document

Terminal window
stratumctl objectstorage buckets lifecycle get <bucket-id> [flags]
Terminal window
stratumctl objectstorage buckets lifecycle get bkt-6k2m8x4q7a
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

stratumctl objectstorage buckets lifecycle set

Section titled “stratumctl objectstorage buckets lifecycle set”

Set a bucket’s lifecycle rules from a JSON document

Terminal window
stratumctl objectstorage buckets lifecycle set <bucket-id> --rules-file <file> [flags]
Terminal window
stratumctl objectstorage buckets lifecycle set bkt-6k2m8x4q7a --rules-file lifecycle.json
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)
--rules-file string Path to a file with the lifecycle rules JSON

List S3 buckets in a project

Terminal window
stratumctl objectstorage buckets list [flags]
Terminal window
stratumctl objectstorage buckets list
stratumctl objectstorage buckets list --output json
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

Manage a bucket’s S3 policy

Terminal window
stratumctl objectstorage buckets policy [flags]

stratumctl objectstorage buckets policy clear

Section titled “stratumctl objectstorage buckets policy clear”

Remove a bucket’s S3 policy

Terminal window
stratumctl objectstorage buckets policy clear <bucket-id> [flags]
Terminal window
stratumctl objectstorage buckets policy clear bkt-6k2m8x4q7a
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

stratumctl objectstorage buckets policy get

Section titled “stratumctl objectstorage buckets policy get”

Show a bucket’s S3 policy

Terminal window
stratumctl objectstorage buckets policy get <bucket-id> [flags]
Terminal window
stratumctl objectstorage buckets policy get bkt-6k2m8x4q7a
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

stratumctl objectstorage buckets policy set

Section titled “stratumctl objectstorage buckets policy set”

Set a bucket’s S3 policy (–allow-public to accept a public grant)

Terminal window
stratumctl objectstorage buckets policy set <bucket-id> --policy-file <file> [flags]
Terminal window
stratumctl objectstorage buckets policy set bkt-6k2m8x4q7a --policy-file policy.json
stratumctl objectstorage buckets policy set bkt-6k2m8x4q7a --policy-file public-read.json --allow-public
Flag Type Default Description
--allow-public bool false Accept a policy that grants public/anonymous access
--policy-file string Path to a file with the S3 policy JSON
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

Show a bucket’s data-management settings (versioning/encryption)

Terminal window
stratumctl objectstorage buckets settings <bucket-id> [flags]
Terminal window
stratumctl objectstorage buckets settings bkt-6k2m8x4q7a
stratumctl objectstorage buckets settings bkt-6k2m8x4q7a --output json
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

stratumctl objectstorage buckets versioning

Section titled “stratumctl objectstorage buckets versioning”

Set object versioning on a bucket

Terminal window
stratumctl objectstorage buckets versioning <bucket-id> <Enabled|Suspended> [flags]
Terminal window
stratumctl objectstorage buckets versioning bkt-6k2m8x4q7a Enabled
stratumctl objectstorage buckets versioning bkt-6k2m8x4q7a Suspended
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

Aggregate object-storage health (admin): bucket counts, stuck age, reconciler, RGW reachability

Terminal window
stratumctl objectstorage health [flags]
Terminal window
stratumctl objectstorage health
stratumctl objectstorage health --output json

List / put / get / delete / presign objects (via the CP data path)

Terminal window
stratumctl objectstorage objects [flags]

Aliases: object

Delete an object

Terminal window
stratumctl objectstorage objects delete <bucket-id> --key <key> [flags]
Terminal window
stratumctl objectstorage objects delete bkt-6k2m8x4q7a --key reports/2026-10.csv
Flag Type Default Description
--key string Object key
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

List objects in a bucket

Terminal window
stratumctl objectstorage objects list <bucket-id> [flags]
Terminal window
stratumctl objectstorage objects list bkt-6k2m8x4q7a
stratumctl objectstorage objects list bkt-6k2m8x4q7a --prefix reports/ --output json
Flag Type Default Description
--prefix string Only list keys with this prefix
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

Get a presigned URL for an object (GET download or PUT upload)

Terminal window
stratumctl objectstorage objects presign <bucket-id> --key <key> [flags]
Terminal window
stratumctl objectstorage objects presign bkt-6k2m8x4q7a --key reports/2026-10.csv
stratumctl objectstorage objects presign bkt-6k2m8x4q7a --key uploads/new.csv --method PUT --expires 3600
Flag Type Default Description
--expires int 0 URL lifetime in seconds (default 900)
--key string Object key
--method string GET GET (download) or PUT (upload)
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

Upload an object (proxied through the control plane)

Terminal window
stratumctl objectstorage objects put <bucket-id> --key <key> --file <path> [flags]
Terminal window
stratumctl objectstorage objects put bkt-6k2m8x4q7a --key reports/2026-10.csv --file./2026-10.csv
Flag Type Default Description
--file string Local file to upload
--key string Object key
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)