Ensure that Multi-Factor Authentication (MFA) is enabled for all RAM users with console access within your Alibaba Cloud account in order to secure your cloud environment and adhere to Resource Access Management (RAM) security best practices.
Having MFA-protected RAM users is one of the best ways to protect your Alibaba Cloud services and resources against hacking. An MFA device signature adds an extra layer of protection on top of your existing RAM user credentials (username and password), making your cloud account virtually impossible to penetrate without the MFA-generated passcode.
Audit
To determine if your RAM users are MFA-protected, perform the following operations:
Remediation / Resolution
To enable Multi-Factor Authentication (MFA) protection for your Resource Access Management (RAM) users, perform the following operations:
As an example, to demonstrate the procedure, the Remediation section employ Google Authenticator, an extensively adopted virtual MFA device that conforms to the Time-Based One-Time Cipher Algorithm (TOTP).References
- Alibaba Cloud Documentation
- What is multi-factor authentication?
- Bind an MFA device to a RAM user
- Alibaba Cloud CLI Documentation
- ListUsers
- GetLoginProfile
- GetAccountMFAInfo
- CreateVirtualMFADevice
- BindMFADevice