Skip to content
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

companion: allow providing any S3 option, closes #1388 #2030

Merged
merged 9 commits into from
Mar 4, 2020

Conversation

goto-bus-stop
Copy link
Contributor

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.

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.
@goto-bus-stop
Copy link
Contributor Author

@ifedapoolarewaju finally added your awsClientOptions suggestion above!

@goto-bus-stop goto-bus-stop merged commit d191703 into master Mar 4, 2020
@delete-merged-branch delete-merged-branch bot deleted the s3-options branch March 4, 2020 13:02
goto-bus-stop added a commit that referenced this pull request Mar 9, 2020
Accidentally removed in #2030. This can cause S3 to reject uploads.
goto-bus-stop added a commit that referenced this pull request Mar 9, 2020
Accidentally removed in #2030. This can cause S3 to reject uploads.
HeavenFox pushed a commit to docsend/uppy that referenced this pull request Jun 27, 2023
…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
HeavenFox pushed a commit to docsend/uppy that referenced this pull request Jun 27, 2023
…loadit#2113)

Accidentally removed in transloadit#2030. This can cause S3 to reject uploads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants