I'm generating a presigned url to an s3 bucket using the following code
const presignedUrl = s3.getSignedUrl('getObject', {
Bucket: config.parsedResumeDestination,
Key: tmpKey,
Expires: 60 * 60 * 60 // 1 hour
});
However when I just copy past the generated url on the browser I get the following error
Requests specifying Server Side Encryption with AWS KMS managed keys require AWS Signature Version 4
I saw the following solution How to generate AWS S3 pre-signed URL using signature version 4, however the nodejs client for aws does not seem to have this property. Can someone please tell me what is going wrong here?