I'm working with AWS CLI, so How can type in the MFA code in that?
I have enabled the MFA device under my username
aws iam list-mfa-devices --user-name X
which returns
{
"MFADevices": [
{
"UserName": "X",
"SerialNumber": "arn:aws:iam::+++:mfa/X",
"EnableDate": "2016-01-13T23:15:43Z"
}
]
}