Amazon S3 Signature Does Not Match - AWS SDK Java

前端 未结 8 1942
不知归路
不知归路 2021-01-01 12:18

I have a play application that needs to upload files to S3. We are developing in scala and using the Java AWS SDK.

I\'m having trouble trying to upload files, I keep

8条回答
  •  遥遥无期
    2021-01-01 13:04

    I faced a similar issue and setting the config signatureVersion: 'v4' helped solve it in my case -

    In JavaScript:

    var s3 = new AWS.S3({
      signatureVersion: 'v4'
    });
    

    Adapted from https://github.com/aws/aws-sdk-js/issues/902#issuecomment-184872976

提交回复
热议问题