title: login issue with aws command line interface with MFA code/token
body: <p>With amazon aws command line interface, I can't successfully login with MFA token</p>
  
  <p><strong>I can login via web interface, MFA has been enable</strong>. If I login via web interface, I need provide: <code>Account</code>, <code>User Name</code>, <code>Password</code>, enable MFA token, <code>MFA code</code></p>
  
  <p><strong>Now I need do it from command line interface</strong>, installed awscli tool, following amazon document <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html" rel="nofollow noreferrer">http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html</a></p>
  
  <pre><code>[default]
  aws_access_key_id=AKIAIOSFODNN7EXAMPLE      # I think this is Username
  aws_secret_access_key=wJalrXUtnFEM          # I think this is Password
  aws_session_token=example123324             # I think this is MFA code
  </code></pre>
  
  <p>Not sure how to set AWS <code>Account (or called alias)</code> and enable MFA token option.</p>
  
  <p>Any ideas?</p>
  
  <p><img src="https://i.stack.imgur.com/rdIR9.png" alt="enter image description here"></p>