Skip to main content

tigris buckets create

Create a new bucket with optional access, tier, and location settings.

Alias: c

Usage

tigris buckets create [name] [flags]
t3 b c [name] [flags]

Flags

NameRequiredDefaultDescription
--access, -aNoprivateAccess level. Options: public, private
--publicNoShorthand for --access public
--enable-snapshots, -sNofalseEnable snapshots for the bucket
--default-tier, -tNoSTANDARDDefault storage tier. Options: STANDARD (Standard), STANDARD_IA (Infrequent Access), GLACIER (Archive), GLACIER_IR (Instant Retrieval Archive)
--locations, -lNoglobalBucket 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, -cNoDeprecated. Use --locations instead.
--region, -rNoDeprecated. Use --locations instead.

Examples

# Create a private bucket
tigris buckets create my-bucket

# Create a public bucket in a specific region
tigris buckets create my-bucket --access public --locations iad

# Create with snapshots and infrequent access tier
tigris buckets create my-bucket --enable-snapshots --default-tier STANDARD_IA