阅读背景:

使用AWS SDK加载凭据JSON导致错误

来源:互联网 

I'm trying to load credentials for AWS with loadFromPath and getting an unexpected error. Hardcoding the same credentials with AWS.config.update works fine. To make sure the path and format of credentials file is correct I loaded the same with fs.readFile and it loads correctly, so there don't seem to be any path / permissions issues. This seems super basic but I've been pulling my hair out trying to resolve. Thanks for your help.I'm trying to load credentials for AWS with loa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: