Configuration
const rgw = new RadosGWAdminClient({
host: 'https://ceph-rgw.example.com',
port: 443,
accessKey: 'ADMIN_KEY',
secretKey: 'ADMIN_SECRET',
adminPath: '/admin',
timeout: 15000,
region: 'us-east-1',
insecure: false,
debug: false,
maxRetries: 3,
retryDelay: 200,
});
Notes
insecure: truedisables TLS verification and is not recommended in production.- Increase
timeoutand tunemaxRetries/retryDelayfor unstable networks.