The S3 client is pre-configured to connect to an internal RustFS endpoint. Credentials and endpoint are hardcoded in the library. If you need to customize, you can modify the `lib/s3-client.js` file.
The S3 client is pre-configured to connect to an internal RustFS endpoint (`http://192.168.2.253:9000`). You can customize the configuration in multiple ways:
### 1. Environment Variables (Highest priority)
```bash
export S3_ENDPOINT=http://192.168.2.254:9000
export S3_ACCESS_KEY_ID=your-access-key
export S3_SECRET_ACCESS_KEY=your-secret-key
export S3_REGION=us-west-2
```
### 2. Command Line Options
```bash
ss3ops --endpoint=http://192.168.2.254:9000 --access-key=xxx --secret-key=yyy list zhipinku audit/