mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
remove aws credentials.signatureVersion in enableS3TransferAcceleration
Fix error: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. See more: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
This commit is contained in:
parent
3e717fa337
commit
0283af7a3e
@ -328,8 +328,6 @@ class AwsProvider {
|
||||
enableS3TransferAcceleration(credentials) {
|
||||
this.serverless.cli.log('Using S3 Transfer Acceleration Endpoint...');
|
||||
credentials.useAccelerateEndpoint = true; // eslint-disable-line no-param-reassign
|
||||
credentials.signatureVersion = 'v2'; // eslint-disable-line no-param-reassign
|
||||
// see https://github.com/aws/aws-sdk-js/issues/281
|
||||
}
|
||||
|
||||
getRegion() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user