Object storage
Private buckets for your account, from your machine or from inside a sandbox, with scoped keys and short presigned URLs.
Buckets belong to your account (or org). Nothing in them is ever public: you reach an object with your token, with a scoped storage key, or through a presigned URL for that one object that lasts at most 15 minutes.
From your machine
kyora vms storage mb my-bucket-1234
echo "hello storage" > hello.txt
kyora vms storage put my-bucket-1234 notes/hello.txt hello.txt
kyora vms storage ls my-bucket-1234
kyora vms storage get my-bucket-1234 notes/hello.txt -
kyora vms storage presign my-bucket-1234 notes/hello.txt --ttl 300Bucket names are your own choice, unique among your account's buckets. Large files go up in parts by themselves. presign prints a URL that downloads that object for --ttl seconds (at most 900). Presigned uploads are not available yet: upload with put, as above.
kyora vms storage usage shows this month's storage and its cost.
A key for one bucket
For a service or a sandbox, mint a key that reaches one bucket, optionally under one prefix, read-only or read-write, for a set time:
curl -sS https://cloud.kyora.sh/v1/storage/keys -H "authorization: Bearer $KYORA_TOKEN" -H 'content-type: application/json' \
-d '{"bucket":"my-bucket-1234","prefix":"uploads/","access":"read-write","ttlSeconds":86400}'The answer holds the key (kysk_...), shown once. KYORA_TOKEN is a full-access token (from the dashboard under Tokens). The CLI uses a key from KYORA_STORAGE_KEY before anything else.
From inside a sandbox
No sandbox image ships the kyora CLI. Images with Node (the default among them) have bun, and bun's global directory is already on PATH, so with network registries or open one line installs it:
kyora vms create store --size s --ttl 1h --network registries
kyora vms exec store -- bun add -g kyora
kyora vms exec store -e KYORA_STORAGE_KEY=kysk_... -- sh -c 'echo from the sandbox > out.txt && kyora vms storage put my-bucket-1234 uploads/out.txt out.txt'Replace kysk_... with the key minted above. bunx kyora vms storage put ... runs it without installing. An image without bun needs bun first (npm i -g bun where Node is).
Uploads go through cloud.kyora.sh, which a sandbox reaches on network registries or open, but not on none. A presigned URL is on a storage host of its own: a sandbox with a network allowlist needs that host allowed to use one directly.
Clean up
kyora vms rm store
kyora vms storage rb my-bucket-1234 --force