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