![](/img/trans.png)
[英]Error: “The security token included in the request is invalid” when using Boto python
[英]When I enter aws-acess-id and aws-secret-key /: “ERROR: NotAuthorizedError - Operation Denied. The security token included in the request is invalid:”
当我输入 aws-acess-id 和 aws-secret-key 时,我尝试了从“labs.vocareum.com”生成的不同 aws 密钥它抛出错误:“错误:NotAuthorizedError - 操作被拒绝。请求中包含的安全令牌无效:"
错误
C:\Users>eb init -p python port-aws
You have not yet set up your credentials or your credentials are incorrect
You must provide your credentials.
(aws-access-id): ------(enter key from aws account)-------
(aws-secret-key): --------(enter key from aws account)----
ERROR: NotAuthorizedError - Operation Denied. The security token included in the request is
invalid.
重新输入
C:\Users>eb init -p python port-aws
ERROR: The current user does not have the correct permissions. Reason: Operation Denied. The
security token included in the request is invalid.
ERROR: The current user does not have the correct permissions. Reason: Operation Denied. The
security token included in the request is invalid.
You have not yet set up your credentials or your credentials are incorrect
You must provide your credentials.
(aws-access-id): ------(enter key from aws account)-------
(aws-secret-key): ------(enter key from aws account)-------
ERROR: NotAuthorizedError - Operation Denied. The security token included in the request is
invalid.
AWS Educate 似乎确实允许 Beanstalk:
AWS Academy 也将使用vocareum
,因此可能适用类似的限制。
但是,您从vocareum
获得的所有凭据都是临时的。 在我看来,它们对你来说已经过期了。 因此,您可能需要通过创建新的沙箱环境并获取新密钥来刷新它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.