This topic describes how to enable a multi-factor authentication (MFA) device for a Resource Access Management (RAM) user. Virtual MFA devices and Universal 2nd Factor (U2F) security keys are two types of MFA devices. After you enable an MFA device, it provides higher security protection for the RAM user.
Enable a virtual MFA device
Prerequisites
Before you can enable a virtual MFA device, you must download and install the Google Authenticator app on your mobile device. You can use one of the following methods to download the Google Authenticator app:
- For iOS, download the Google Authenticator app from the App Store.
- For Android, download the Google Authenticator app from your preferred app store.
Note For Android, you must also download and install a quick response (QR) code scanner from an app store for Google Authenticator to identify QR codes.
Enabling methods
You can use one of the following methods to enable a virtual MFA device based on your business requirements:
- You can enable a virtual MFA device by using an Alibaba Cloud account or a RAM user that has administrative rights in the RAM console.
- If you have selected Required for Enable MFA when you create a RAM user, you are required to bind a virtual MFA device upon the logon of the RAM user. You can select Virtual MFA Device in the Enable MFA Device dialog box and go to 6.
- If a RAM user of your Alibaba Cloud account is allowed to manage its own virtual MFA device, the RAM user can enable the virtual MFA device in the RAM console. To enable a virtual MFA device, perform the following operations: Move the pointer over the profile picture in the upper-right corner of the console and click Security Information Management. On the Virtual MFA Device tab of the Console Logon page, click Enable Virtual MFA Device and go to 6.
Procedure
Enable a U2F security key
Enabling methods
You can use one of the following methods to enable a U2F security key based on your business requirements:
- You can enable a U2F security key by using an Alibaba Cloud account or a RAM user that has administrative rights in the RAM console.
- If you have selected Required for Enable MFA when you create a RAM user, you are required to bind an MFA device upon the logon of the RAM user. You can select U2F Security Key in the Enable MFA Device dialog box and go to6.
- If a RAM user of your Alibaba Cloud account is allowed to manage its own MFA device, the RAM user can enable a U2F security key in the RAM console. To enable a U2F security key, perform the following operations: Move the pointer over the profile picture in the upper-right corner of the console and click Security Information Management. On the U2F Security Key tab of the Console Logon page, click Enable U2F Security Key and go to 6.
Procedure
What to do next
After you enable the MFA device and use the RAM user to log on the Alibaba Cloud Management Console again, the console prompts you to perform the following operations:
- Enter the username and password of the RAM user.
- Enter the verification code that is generated by the virtual MFA device. Alternatively, pass the U2F authentication.
- If you want to change the type of MFA device that is bound to a RAM user, you must log on to the RAM console, disable the MFA device, and then bind the RAM user to another MFA device. For more information, see Disable an MFA device for a RAM user.
- If the virtual MFA device is uninstalled before you disable the MFA device, or your U2F security key is lost, you cannot log on to the Alibaba Cloud Management Console. If this happens, you must use your Alibaba Cloud account or the RAM user that has administrative rights to log on to the RAM console and disable the MFA device. Then, bind the RAM user to an MFA device. For more information, see Disable an MFA device for a RAM user.