tritonctl storage
tritonctl storage lists your tenant's object storage: buckets, storage users,
and access keys. It is read-only. Creating or deleting any of these is an
operator action. See How object storage works.
Synopsis
tritonctl storage buckets
tritonctl storage users
tritonctl storage access-keys --user <STORAGE_USER>
storage and its subcommands have no aliases.
Common behavior
The silo and tenant come from your signed-in identity. No project is needed.
The global flags and output formats are described in the
tritonctl command index. Every subcommand prints a
table, -l selects the long column set, and -j prints the raw JSON.
A tenant with no storage workspace bound gets 412 with the code
TenantStorageUnbound from every subcommand.
tritonctl storage buckets
Lists the buckets in your workspace, with object counts and total sizes. It always asks the server for statistics.
API route: GET /v1/silos/{silo_id}/tenants/{tenant_id}/storage/buckets?stats=true
| Column | Default | Long | Content |
|---|---|---|---|
name | yes | yes | Bucket name |
owner | yes | yes | Owning storage user |
workspace | yes | Workspace name | |
objects | yes | Object count | |
object_count | yes | Object count | |
size | yes | Total size, human-readable | |
total_bytes | yes | Total size in bytes | |
age | yes | Time since creation | |
created_at | yes | Creation time, RFC 3339 |
Sorted by name.
tritonctl storage users
Lists the storage users in your workspace. Storage users own access keys.
API route: GET /v1/silos/{silo_id}/tenants/{tenant_id}/storage/users
| Column | Default | Long | Content |
|---|---|---|---|
name | yes | yes | Storage user name |
workspace | yes | Workspace name | |
age | yes | Time since creation | |
created_at | yes | Creation time, RFC 3339 |
Sorted by name.
tritonctl storage access-keys
Lists one storage user's access keys. The secret access key is never shown.
API route: GET /v1/silos/{silo_id}/tenants/{tenant_id}/storage/users/{user}/access-keys
| Option | Required | Description |
|---|---|---|
--user <STORAGE_USER> | yes | The storage user whose keys to list. |
| Column | Default | Long | Content |
|---|---|---|---|
access_key_id | yes | yes | Access key ID |
user | yes | yes | Owning storage user |
workspace | yes | Workspace name | |
status | yes | yes | Key status, such as Active or Revoked |
age | yes | Time since creation | |
created_at | yes | Creation time, RFC 3339 |
Sorted by created_at, newest first.
Examples
tritonctl storage buckets
tritonctl storage access-keys --user <STORAGE_USER> -l