Object Creation
Create objects using the RustFS UI, rc, or the S3 API.
Objects are the fundamental storage units in RustFS, containing data, metadata, and a unique key. This guide covers object creation (upload).
Requirements
- A running RustFS instance (see Installation Guide).
rcinstalled and configured with an alias for the command-line workflow.- A target bucket. Create one by following Bucket Creation.
Creating Objects
Using the RustFS UI
- Log in to the RustFS Console.
- Select the target bucket.
- On the bucket page, in the top right corner, select New Directory, New File, or Upload File/Folder.
- To upload from your local machine, click Upload File/Folder, select the files, and click Start Upload.

Click on an object to view its details.

Using rc
See the rc guide for installation and alias configuration.
Upload a file:
rc object copy /path/to/hello.txt rustfs/my-bucket/hello.txt
rc object list rustfs/my-bucketVerify the upload in the RustFS Console.
Using the API
Upload a file via API:
PUT /{bucketName}/{objectName} HTTP/1.1S3 requests must be signed with AWS Signature V4, so use an S3 client rather than hand-crafting headers. With the AWS CLI configured for your access keys:
aws s3api put-object \
--bucket bucket-creation-by-api \
--key hello.txt \
--body /path/to/hello.txt \
--endpoint-url http://localhost:9000Verify the upload in the RustFS Console.
Deleting Objects
See Object Deletion.
Use the following API for file deletion:
DELETE /{bucketName}/{objectName} HTTP/1.1Request example:
aws s3api delete-object \
--bucket bucket-creation-by-api \
--key hello.txt \
--endpoint-url http://localhost:9000You can confirm the file has been deleted on the RustFS UI.