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
| Name | Required | Default | Description |
|---|---|---|---|
--access, -a | No | private | Access level. Options: public, private |
--content-type, -t | No | — | Content type (auto-detected from extension if omitted) |
--format, -f | No | table | Output 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