Closed psmod2 closed 6 years ago
Hello,
I have a specific endpoint host and port for my buckets.
I've found the Endpoint object in S3 https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Endpoint.html however where is this configuration placed, I tried in the createClient object however it didn't seem to work:
var client = s3.createClient({ s3Options: { hostname: "111.111.111.1" port: "1111", accessKeyId: "xxxxxxx", secretAccessKey: "xxxxy", }, });
Do I have to create a seperate object, if so at where is linked with the client itself?
Any help would be appreciated.
Got it - had to use:
endpoint: "111.111.111.1:1111"
and also:
sslEnabled: false, s3ForcePathStyle: true
Hello,
I have a specific endpoint host and port for my buckets.
I've found the Endpoint object in S3 https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Endpoint.html however where is this configuration placed, I tried in the createClient object however it didn't seem to work:
Do I have to create a seperate object, if so at where is linked with the client itself?
Any help would be appreciated.