[英]An error occurred (UnrecognizedClientException) when calling the ListTopicRules operation: The security token included in the request is invalid
I got this error when using aws CLI, following the tutorial shows below to configuring the AWS CLI, I can only set up the AWS Access Key ID and AWS Secret Access Key.我在使用 aws CLI 时遇到此错误,按照下面显示的教程配置 AWS CLI,我只能设置 AWS 访问密钥 ID 和 AWS 秘密访问密钥。 Where can I set the security token?
我可以在哪里设置安全令牌? https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html
https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html
I found the answer to this.我找到了答案。 It might seem very simple though.
不过,它可能看起来很简单。 Basically you were following the tutorial literally, which means you most probably input the exact
AWS Access Key ID
and AWS Secret Access Key
mentioned in the tutorial.基本上,您是按照本教程进行的,这意味着您很可能输入了教程中提到的确切
AWS Access Key ID
和AWS Secret Access Key
。 However, those keys in red are just examples.但是,那些红色的键只是示例。 What you should use are the keys from your own AWS account, ie
My Security Credentials
.您应该使用的是您自己的 AWS 账户中的密钥,即
My Security Credentials
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.