Skip to content

tebib bucket

Generated from the CLI's own command tree. Run tebib bucket --help for the same text in your terminal.

Buckets: S3 object storage in the project's region.

Commands

tebib bucket create

Create a bucket (private unless --public).

tebib bucket create [OPTIONS] NAME
ArgumentDescription
NAME requiredS3 bucket name: 3-63 lowercase letters, digits and '-', unique.
OptionValueDescription
--publicflagAnyone may download objects (no listing).
--max-size-gibint rangeCap the bucket's size.
--descriptionstrDescription.
--tagKEY=VALUE (repeatable)Tag as KEY=VALUE; repeat for more tags.
--project, -pstrProject ID (default: from the profile).
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 300.
--output, -otable | json | yamlOutput format.

Examples

tebib bucket create acme-photos --public --wait # private unless --public

tebib bucket delete

Delete a bucket. It must be empty unless --force.

tebib bucket delete [OPTIONS] BUCKET_ID
ArgumentDescription
BUCKET_ID requiredBucket ID (bkt-...).
OptionValueDescription
--forceflagDelete its objects too. There is no undo.
--yes, -yflagDon't ask for confirmation.
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 600.
--project, -pstrProject ID (default: from the profile).

Examples

tebib bucket delete bkt-... --force --yes # with its objects; no undo

tebib bucket list

List the project's buckets.

tebib bucket list [OPTIONS]
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--limitint rangeShow at most this many items.
--output, -otable | json | yamlOutput format.

tebib bucket set-size-cap

Cap a bucket's size (uploads over it are refused), or remove the cap.

tebib bucket set-size-cap [OPTIONS] BUCKET_ID GIB
ArgumentDescription
BUCKET_ID requiredBucket ID (bkt-...).
GIB requiredGiB; 0 removes the cap.
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib bucket set-visibility

Make a bucket private, or let anyone download its objects (public-read).

tebib bucket set-visibility [OPTIONS] BUCKET_ID VISIBILITY
ArgumentDescription
BUCKET_ID requiredBucket ID (bkt-...).
VISIBILITY requiredprivate or public-read.
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib bucket show

Show one bucket.

tebib bucket show [OPTIONS] ID
ArgumentDescription
ID requiredBucket ID (bkt-...).
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib bucket update

Change a bucket's description or tags.

tebib bucket update [OPTIONS] ID
ArgumentDescription
ID requiredBucket ID (bkt-...).
OptionValueDescription
--descriptionstrNew description.
--tagKEY=VALUE (repeatable)Replace ALL tags (KEY=VALUE, repeatable).
--clear-tagsflagRemove all tags.
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.