| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Enables an MFA device for a user.
iam-userenablemfadevice -u
USERNAME -s
SERIAL -c1 CODE 1 -c2 CODE 2
| Name | Description | Required |
|---|---|---|
|
|
Name of the user to enable the MFA device for. Type: String Default: None |
Yes |
|
|
The serial number of the MFA device. Type: String Default: None |
Yes |
|
|
The first authentication code for the MFA device. Type: String Default: None |
Yes |
|
|
The second authentication code for the MFA device. Type: String Default: None |
Yes |
If the command is successful, the output is empty.
The following example enables an MFA device for a user called John, with a serial number GATTxxxx32X and authentication codes of 94xx49, and 97xx97, respectively.
PROMPT> iam-userenablemfadevice -u John -s GATTxxxx32X -c1 94xx49 -c2 97xx97