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

后端 未结 7 901
眼角桃花
眼角桃花 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:35

    I tried above option and even that did not work, so I created new config object and this below code worked

     AWS.config = new AWS.Config();
     AWS.config.accessKeyId = "AccessKey";
     AWS.config.secretAccessKey = "SecretAccessKey";
    

提交回复
热议问题