Storage – S3 / Object Store
Use s3cmd to interact with your NetActuate S3-compatible object store (RGW). This page covers installation, configuration, and common operations.
Prerequisites
- Access Key and Secret Key (provided by NetActuate)
- Object Store Endpoint
Install s3cmd
sudo apt update
sudo apt install s3cmd -y
Configure s3cmd
s3cmd --configure
Enter the following when prompted:
Access Key: <your-access-key>
Secret Key: <your-secret-key>
S3 Endpoint: <endpoint:port>
Use HTTPS: Yes
DNS-style bucket+hostname template: <endpoint:port>
Examples
# List buckets
s3cmd ls
# Create a bucket
s3cmd mb s3://mybucket
# Upload a file
s3cmd put file.txt s3://mybucket/
# Download a file
s3cmd get s3://mybucket/file.txt
# Make a file public
s3cmd setacl s3://mybucket/file.txt --acl-public
# Sync a folder
s3cmd sync ./local-folder/ s3://mybucket/
Public Access
- Objects are private by default.
- To make objects public:
- Use
s3cmd setacl --acl-publicon individual objects. - Or disable "private" in the portal, which applies a bucket policy allowing public read access.
- Use