【问题标题】:An error occurred (UnrecognizedClientException) when calling the ListTopicRules operation: The security token included in the request is invalid调用 ListTopicRules 操作时发生错误(UnrecognizedClientException):请求中包含的安全令牌无效
【发布时间】:2020-03-11 02:39:09
【问题描述】:

我在使用 aws CLI 时遇到此错误,按照下面的教程配置 AWS CLI,我只能设置 AWS 访问密钥 ID 和 AWS 秘密访问密钥。我可以在哪里设置安全令牌? https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html

【问题讨论】:

  • 我在这里面临同样的问题。一开始,我改了默认区域,我以为是这个问题,所以我重复安装,将所有值都保留为默认值,但是仍然出现错误。

标签: amazon-web-services aws-cli


【解决方案1】:

我找到了答案。不过,这似乎很简单。 基本上,您是按照本教程的字面意思进行操作的,这意味着您很可能输入了教程中提到的确切的AWS Access Key IDAWS Secret Access Key。 但是,红色的那些键只是示例。您应该使用的是您自己的 AWS 账户中的密钥,即My Security Credentials

【讨论】:

    猜你喜欢
    • 2020-12-09
    • 1970-01-01
    • 2019-11-12
    • 2016-12-12
    • 2020-05-05
    • 2021-12-12
    • 2014-01-30
    • 2021-08-26
    • 2015-02-20
    相关资源
    最近更新 更多