-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bucket endpoint path for S3 #1388
Comments
We pass the https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property I think the SDK's way of doing this would be using the endpoint: 'http://127.0.0.1/bucketname',
s3BucketEndpoint: true So we should maybe spread unknown properties from uppy/packages/@uppy/companion/src/uppy.js Lines 202 to 207 in a0654c2
|
Hi there, we discussed this with the team and we agree it would be a good idea to allow the s3 options to be configurable. We're going to allow ~all options to be overridden. We don't have an ETA for this yet though, and if someone in the community feels like contributing a PR we would be very grateful! |
Now you can configure any S3 option listed in https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property. It adds a warning about the official S3 names `accessKeyId` and `secretAccessKey` because you should use the Companion-style names `key` and `secret` instead.
…ansloadit#2030) * companion: allow providing any S3 option, closes transloadit#1388 Now you can configure any S3 option listed in https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property. It adds a warning about the official S3 names `accessKeyId` and `secretAccessKey` because you should use the Companion-style names `key` and `secret` instead. * companion: use awsClientOptions property for Aws SDK config * companion: also reject keys inside awsClientOptions * should keep the checks next to each other * companion: first check if awsClientOptions isnt null
Hello!
When I set custom S3 endpoint for companion server:
endpoint: 'http://127:0.0.1
It is translate to endpoint:
endpoint: 'http://{bucket}.127:0.0.1
It is possible to add configurable bucket endpoint, like:
endpoint: 'http://127:0.0.1/{bucket}
Thanks for your help.
The text was updated successfully, but these errors were encountered: