简体   繁体   English

调用 ListTopicRules 操作时发生错误(UnrecognizedClientException):请求中包含的安全令牌无效

[英]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 IDAWS 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.

相关问题 调用 AssumeRole 操作时发生错误 (InvalidClientTokenId):请求中包含的安全令牌无效 - An error occurred (InvalidClientTokenId) when calling the AssumeRole operation: The security token included in the request is invalid DynamoDB 请求中包含的安全令牌无效 UnrecognizedClientException - DynamoDB The security token included in the request is invalid UnrecognizedClientException UnrecognizedClientException","errorMessage":"本地测试 lambda 函数时,请求中包含的安全令牌无效 - UnrecognizedClientException","errorMessage":"The security token included in the request is invalid when testing lambda function locally dynamodb node.js --- UnrecognizedClientException:请求中包含的安全令牌无效 - dynamodb node js --- UnrecognizedClientException: The security token included in the request is invalid ask-cli、Ask deploy、UnrecognizedClientException:请求中包含的安全令牌无效 - ask-cli, Ask deploy, UnrecognizedClientException: The security token included in the request is invalid 错误:使用Boto python时,“请求中包含的安全令牌无效” - Error: “The security token included in the request is invalid” when using Boto python 无服务器错误:请求中包含的安全令牌无效 - Serverless Error: The security token included in the request is invalid AWS Lambda,调用 PutObject 操作时发生错误 (InvalidToken):提供的令牌格式错误或无效 - AWS Lambda, An error occurred (InvalidToken) when calling the PutObject operation: The provided token is malformed or otherwise invalid 当我输入 aws-acess-id 和 aws-secret-key / 时:“错误:NotAuthorizedError - 操作被拒绝。 请求中包含的安全令牌无效:” - When I enter aws-acess-id and aws-secret-key /: “ERROR: NotAuthorizedError - Operation Denied. The security token included in the request is invalid:” 错误:请求中包含的安全令牌无效 - AWS DynamoDB - Error: The security token included in the request is invalid - AWS DynamoDB
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM