【发布时间】:2020-07-15 04:02:34
【问题描述】:
我正在尝试使用 MFA 为我的 aws 帐户获取临时凭证。我正在终端输入
aws sts get-session-token arn:aws:iam::11111111111:mfa/user --token-code 111111
所有正确的值,但我得到:
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
Unknown options: arn:aws:iam::11111111111:mfa/user
我以前做过这个并且它有效,所以我不确定出了什么问题。谢谢!
【问题讨论】:
标签: amazon-s3 multi-factor-authentication