Skip to main content
bunny storage manages Bunny Storage through two resource groups:
  • bunny storage zones manages the zone itself: creation, settings, credentials, and custom domains.
  • bunny storage files lists, uploads, downloads, and deletes files within a zone.
The [zone] argument accepts either the zone’s name or its numeric ID. Omit it and the CLI uses the zone linked with bunny storage link, or prompts you to pick one. files commands take the zone through --zone / -z instead. zones aliases to zone; files aliases to file.

Linking a directory

Link the current directory to a zone so later commands don’t need the zone name.

Zones

List the regions a zone can use with bunny storage regions. Filter with --tier hdd|ssd and --s3. See Storage tiers and Replication for what each option means.

Credentials

zones credentials prints connection details for the HTTP API, FTP, or S3. Secrets are masked unless you pass --show-secret.
--format accepts sdk, rclone, aws, s3cmd, and env.

Custom domains

Manage custom domains on the zone’s pull zone. SSL is not requested by default. A free certificate can only be issued once your DNS points at bunny.net.
HTTP is redirected to HTTPS when SSL is issued. Pass --no-force-ssl to keep plain HTTP. If the zone has more than one pull zone, pass --pull-zone <id>.

Files

files commands use the linked zone unless you pass --zone.
bunny storage files remove / deletes every file in the zone.

Flags

Last modified on October 19, 2026