* Create new version for S3
* Update S3 to new aws s3 methods
* Switch from SAOP to Rest api
* Add multipart request
* Seperate stream into chunks and send the multipart
* Fix chunk into buffer
* Fix wrong sha256 mismatch
* Add abort multipart on error
* Complete multipart and list parts
* Change format to xml and add a minmum size of 5MB for each part
* Fix returned data for uploading a file
* Remove console.logs
* Seperate needed headers and multipart headers
* Throw error on aborting, remove console.logs
* Remove soap request from generic function
* Keep buffer
* Add unit test for V2
* fix upload file content body
* removed unused import
* Fix bug where the object was too smal and used only one part
* Fix naming for bucket name
* Fix issue with file name not returning data
* Add parent name
* Remove console.logs
* Add content type
* fix headears for other upload mode
---------
Co-authored-by: Marcus <marcus@n8n.io>
* Enable support for AWS temporary credentials
* 🔨 removed toggle from ui added sessionToken to other aws services that using sign function from aws4 module
* Update sign method for other AWS nodes
* Remove the unneeded additional `temporaryCredentials` checkbox
* Update description for session token
* ⚡ added missing session token to credentials test
* Update sign method for DynamoDB
* 🔨 added back toggle for hiding session token, fixed linter errors
* ⚡ wording fix
Co-authored-by: Michael Kret <michael.k@radency.com>
* Centralized error throwing for encryption key
* Unifying the error message used by cli and core packages
* Improvements to error messages to make it more DRY
* Removed unnecessary throw
* Throwing error when credential does not exist to simplify node behavior (#3112)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
* Changes to types so that credentials can be always loaded from DB
This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.
This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.
* Fix updated files
* Removed unnecessary credential loading to improve performance
* Fix typo
* ⚡ Fix issue
* Updated new nodes to load credentials async
* ⚡ Remove not needed comment
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
* Setup custom endpoints properties in AWS credentials type
* Update AWS nodes to use new endpoints (if specified)
* Fix a few error scenarios cases where message was being obscured
* Extend usage of URL API to validate user inputted endpoints
https://nodejs.org/docs/latest-v12.x/api/url.html
* Add support to custom endpoints for SES
Forgot to add this in my earlier commits…
* Fix incorrect Amazon SES endpoint placeholder value
* Fixed signing problems with path being ignored. Standardized to avoid future problems
* Linting fix
* ⚡ Make parameters optinal (wip)
* Make sure that we fallback to correct URL without errors if custom endpoints are not used
Co-authored-by: Luis Ramos <luis@ramos.dev>
Co-authored-by: Omar Ajoue <krynble@gmail.com>