AWS S3 Generating Signed Urls ''AccessDenied''

后端 未结 6 1177
心在旅途
心在旅途 2021-02-06 06:51

I am using NodeJs to upload files to AWS S3. I want the client to be able to download the files securely. So I am trying to generate signed URLs, that expire after one usage. My

6条回答
  •  走了就别回头了
    2021-02-06 07:38

    I kept having a similar problem but mine were due to region settings. In our back end we had some configuration settings for the app.

    One of which was "region": "us-west-2" so the presigned url was created with this region but when it was called on the front end the region was set to "us-west-1".

    Changing it to be the same fixed the issue.

提交回复
热议问题