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
Options
--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.