Skip to main content

tigris objects put

Upload a local file as an object. Content-type is auto-detected from extension unless overridden.

Alias: p

Usage

tigris objects put <bucket> <key> <file> [flags]
t3 o p <bucket> <key> <file> [flags]

Flags

NameRequiredDefaultDescription
--access, -aNoprivateAccess level. Options: public, private
--content-type, -tNoContent type (auto-detected from extension if omitted)
--format, -fNotableOutput format. Options: json, table, xml

Examples

# Upload a file
tigris objects put my-bucket report.pdf ./report.pdf

# Upload with public access and explicit content type
tigris objects put my-bucket logo.png ./logo.png --access public --content-type image/png