Essentially, the error was that I used the old version of aws-sdk and updated the version so that this error occurred.
in my case with js node I used signatureVersion in parmas object as follows:
const AWS_S3 = new AWS.S3({ params: { Bucket: process.env.AWS_S3_BUCKET, signatureVersion: 'v4', region: process.env.AWS_S3_REGION } });
Then I signed from the params object and worked like a charm:
const AWS_S3 = new AWS.S3({ params: { Bucket: process.env.AWS_S3_BUCKET, region: process.env.AWS_S3_REGION }, signatureVersion: 'v4' });
Salahudin Malik Jul 29 '19 at 11:45 2019-07-29 11:45
source share