2016-10-22 57 views
0

我做了aws configure並測試了它之前的工作。但是,今天沒有上班,就先託管區aws cli得到錯誤「請求中包含的安全令牌無效」

$ aws route53 list-hosted-zones 

An error occurred (InvalidClientTokenId) when calling the ListHostedZones operation: The security token included in the request is invalid. 

我刪除〜/ .aws,並再次做了aws configure時,我得到了錯誤,但我仍然得到了同樣的錯誤。 你能幫忙嗎?謝謝!

回答

2

您的帳戶是否啓用了MFA功能?您可能必須運行如何使用MFA與CLI都記錄here

aws sts get-session-token 

詳細信息。

相關問題