AWS Missing credentials when i try send something to my S3 Bucket (Node.js)

后端 未结 7 898
眼角桃花
眼角桃花 2020-12-02 16:51

Hei!

I\'m having this issue since yesterday, and I\'m having trouble for find a solution.

I\'m trying to send somethings to my S3 bucket, but this message ap

7条回答
  •  佛祖请我去吃肉
    2020-12-02 17:16

    This resolved my issue .

    1. Used the sample code from the Cognito Console and added it to the of the document.

    2. Enabled Unauthenticated access on the identity pool.

    Most important

    1. Fixed the Trust Relationship policy in the unauth role so the Cognito Service could assume the role.

    2. Do not hard code credential in the file .

提交回复
热议问题