CmdID

CmdID / aws / aws configure

aws configure mfa-login

This command gets temporary AWS security credentials for use with the AWS CLI and SDK, and places them in an AWS profile. AWS CLI reference

3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

3 in the AWS CLI reference
--duration-secondsThe duration, in seconds, that the credentials should remain valid.
--serial-numberThe ARN or serial number of the MFA device associated with the IAM user.
--update-profileThe profile to update with temporary credentials.