curl -X POST http://localhost:5121/api/v1/system/storage/providers \
-H "Authorization: Bearer <JWT_OR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "my-s3",
"displayName": "Primary S3",
"providerType": "s3-compatible",
"isEnabled": true,
"isDefault": false,
"configuration": {
"providerName": "s3",
"endpoint": "https://s3.amazonaws.com",
"bucket": "my-bucket",
"region": "us-east-1",
"forcePathStyle": false
},
"secretConfiguration": {
"accessKey": "AKIA...",
"secretKey": "SECRET..."
}
}'