RustFS
To set up a RustFS connection, enter the Connection Preferences, click Add Connection, and select S3 API-Compliant from the left-hand side of the list.
Fill in the following credentials from your RustFS console:
| Preference | Description |
|---|---|
| Bucket Name | Name of the bucket. It needs to be Public, otherwise files uploaded with Dropshare will not be properly accessible by URL. Consider an access policy that allows s3:GetObject, but not s3:ListObjects, such as below. |
| Access Key ID | Access Key ID for the bucket |
| Secret Key | Secret key associated with the created read/write Access Key |
| Server | Address of the RustFS S3 service (usually runs on port 9000 if not configured otherwise). |
| Region | Leave empty |
| Domain Alias | Enter a domain alias if a CNAME record has been set up for the bucket |
| Misc. Settings | - Enable Use SSL if SSL has been set up - Enable Use Path-Style URL |
When you're done, click Test Connection to make sure everything has been set up correctly.
Access Policy
{
"ID": "",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"AWS": [
"*"
]
},
"Action": [
"s3:GetObject"
],
"NotAction": [],
"Resource": [
"arn:aws:s3:::bucket-name/*"
],
"NotResource": [],
"Condition": {}
}
]
}
