RustFS: Using the RustFS CLI

This documentation is part of the Getting started guide. View the full guide here: How to begin using RustFS for S3-compatible object storage.

👋 Welcome to the Stackhero documentation!

Stackhero provides a ready-to-use RustFS Object Storage platform designed for reliability and speed. Key advantages include:

  • Unlimited data transfers with no hidden costs.
  • Simple, predictable, and transparent pricing.
  • A custom domain name secured with HTTPS (for example, https://object-storage.your-company.com).
  • A web console and an admin API that you can close to the internet in one click.
  • One-click, seamless updates that require no manual intervention.
  • High performance and security on private, dedicated infrastructure.
  • Available in both 🇪🇺 Europe and 🇺🇸 USA regions.

Streamline your workflow and reduce setup time: you can deploy Stackhero's RustFS Object Storage hosting in just 5 minutes.

The RustFS CLI, rc, is the command line client of RustFS. It is especially useful to move large files and to manage users and policies from your terminal. Installation instructions for every platform are on the RustFS CLI releases page.

The simplest way to try it is its Docker container:

  1. Start the container:

    docker run -it --rm --entrypoint=/bin/sh rustfs/rc:latest
    
  2. Inside the container, add your server (replace the placeholder values accordingly):

    rc alias set stackhero https://<XXXXXX>.stackhero-network.com <ROOT_ACCESS_KEY> <ROOT_SECRET_KEY>
    
  3. Create a bucket named "test":

    rc mb stackhero/test
    
  4. List your buckets:

    rc ls stackhero
    

You can view the other commands by running rc --help. The MinIO client mc works too: RustFS supports its admin API.