【发布时间】:2019-06-13 16:58:15
【问题描述】:
如何在 Elastic Beanstalk 应用程序的环境变量中更新 IAM 安全凭证?
在我的应用程序中,向 AWS SQS 队列发送消息时出现以下错误。 403 (Forbidden)
bundle.js:27819 Error: The security token included in the request is invalid.
我更改了我的 IAM 凭据,因此我假设我需要更新我的 Elastic Beanstalk 应用程序中的环境变量,并且我假设这就是上述错误的原因。
我尝试通过运行aws configure 来更新我的 Elastic Beanstalk 应用程序的环境变量中的安全凭证。如果我理解正确,它已经更新了我的 .aws 文件夹中的凭证文件。但我不认为它更新了我的 AWS Elastic Beanstalk 应用程序中环境变量中的安全凭证。如何做到这一点?
谢谢!
【问题讨论】:
标签: amazon-web-services amazon-elastic-beanstalk aws-sdk-js