作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我使用
aws-vault exec --no-session --debug role_name
2020/06/09 13:57:13 [keyring] Found item "aws-vault (default)"
aws-vault: error: exec: Failed to get credentials for role_name: InvalidClientTokenId: The security token included in the request is invalid.
status code: 403, request id: 05bf31bd-091e-4f18-83c5-7add3e1bccb8
~/.aws/config
和
~/.aws/credentials
使用正确的设置。
最佳答案
轮换 AWS 凭证后出现同样的错误。
已删除 ~/Library/Keychains/aws-vault.keychain-db
并执行aws-vault add default
它创建了一个新的钥匙串(keychain),并且 aws-vault 再次开始工作。
如果您在 MacOS 上,您可能可以直接编辑钥匙串(keychain)。
关于amazon-web-services - AWS 保险库 : Failed to get credentials - InvalidClientTokenId: The security token included in the request is invalid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62282144/
我是一名优秀的程序员,十分优秀!