kite storage¶
Manage S3-compatible object storage. Create buckets, upload/download files, and generate presigned URLs.
Aliases: s3, store
ls¶
List buckets or objects.
| Flag | Description | Default |
|---|---|---|
--recursive, -r |
List recursively | false |
--max-keys |
Maximum objects to return | 100 |
# List all buckets
kite storage ls
# List objects in a bucket
kite storage ls my-bucket
# List with prefix
kite storage ls my-bucket/images/
# Recursive listing
kite storage ls my-bucket -r
upload¶
Upload a file to storage.
| Flag | Description |
|---|---|
--content-type |
Content type (auto-detected if not specified) |
kite storage upload photo.jpg my-bucket/images/photo.jpg
kite storage upload data.csv my-bucket/exports/data.csv --content-type text/csv
download¶
Download a file from storage.
rm¶
Delete an object.
presign¶
Generate a presigned URL for temporary access.
| Flag | Description | Default |
|---|---|---|
--method |
HTTP method: GET, PUT |
GET |
--expires-in |
URL expiration in seconds | 3600 |
# Download link (1 hour)
kite storage presign my-bucket/report.pdf
# Upload link (15 minutes)
kite storage presign my-bucket/uploads/file.zip --method PUT --expires-in 900
bucket¶
create¶
Create a bucket.
| Flag | Description |
|---|---|
--public |
Make bucket publicly readable |
--project |
Project ID (uses active project if not specified) |
delete¶
Delete a bucket.
| Flag | Description |
|---|---|
--yes, -y |
Skip confirmation |
--purge |
Delete all objects before deleting bucket |
get¶
Get bucket details.
info¶
Show storage account information.