tigris mk
Create a bucket (bare name) or a folder inside a bucket (bucket/folder/ with trailing slash).
Alias: create
Usage
tigris mk <path> [flags]
t3 create <path> [flags]
Paths support the optional t3:// (or tigris://) prefix (e.g.
t3://my-bucket/path or just my-bucket/path). A trailing slash creates a
folder inside the bucket.
Flags
Flags only apply when creating a bucket (not folders).
| Name | Required | Default | Description |
|---|---|---|---|
--access, -a | No | private | Access level. Options: public, private |
--public | No | — | Shorthand for --access public |
--enable-snapshots, -s | No | false | Enable snapshots for the bucket |
--default-tier, -t | No | STANDARD | Default storage tier. Options: STANDARD, STANDARD_IA, GLACIER, GLACIER_IR |
--locations, -l | No | global | Bucket location. Options: global, usa, eur, ams, fra, gru, iad, jnb, lhr, nrt, ord, sin, sjc, syd. Supports comma-separated values for dual region (e.g. ams,fra). See locations docs. |
--consistency, -c | No | — | Deprecated. Use --locations instead. |
--region, -r | No | — | Deprecated. Use --locations instead. |
Examples
# Create a bucket
tigris mk my-bucket
# Create a public bucket in a specific region
tigris mk my-bucket --access public --locations iad
# Create a folder in a bucket
tigris mk my-bucket/images/
# Using t3:// prefix
tigris mk t3://my-bucket