# MFA 多重身份验证

MFA 多重身份验证要求在用户名和密码登录凭据之外提供第二个身份验证因素，这为您的账户增加了额外的安全性。启用 MFA 后，您需要使用密码和身份验证应用来确认您的身份。因此，您的账户资源将更加安全。

您需要安装一个符合基于时间的一次性密码 (TOTP) 算法并支持多个令牌的身份验证应用。在登录过程中，您必须输入来自身份验证应用的有效验证码。

<div align="left"><figure><img src="/files/RDpJ2HmDqnwzsoP65ZHd" alt="" width="563"><figcaption><p>MFA 验证</p></figcaption></figure></div>

## 前提条件

* 您已在设备上安装了一个符合基于时间的一次性密码 (TOTP) 算法并支持多个令牌的身份验证应用。
* 每个用户的 MFA 身份验证应用必须是唯一的。您不能使用其他人的 MFA 设备输入验证码进行身份验证。
* 目前支持的适用于 Android 和 iOS 系统的 MFA 身份验证应用：\
  Twilio Authy Authenticator, Duo Mobile, Google Authenticator

## 启用 MFA

<figure><img src="/files/RB2uIGiqYMR6YHUZlHxh" alt=""><figcaption><p>启用 MFA</p></figcaption></figure>

1. 登录 [zenConsole](https://console.zenlayer.com/dashboard) 并转到 <img src="/files/OpBVTu9w6b4cLMhp1sjt" alt="" data-size="line"> > **个人资料设置** > **启用 MFA**。
2. 打开您的身份验证应用并扫描二维码。或者，您可以手动输入密钥。\\

   <div align="left"><figure><img src="/files/I07F74QdjkYvsIlU1Qwj" alt="" width="563"><figcaption><p>分配身份验证应用</p></figcaption></figure></div>
3. 扫描二维码后，您将在身份验证应用中获得一个一次性密码验证码。输入来自身份验证应用的 MFA 验证码，MFA 将自动激活。\
   以下以身份验证应用页面为例。

   <div align="left"><figure><img src="/files/POzGhBWYO10qNVp2Npq0" alt="" width="188"><figcaption><p>身份验证应用中的 MFA 验证码</p></figcaption></figure></div>
4. *<mark style="color:green;">(可选)</mark>* 如果需要，您可以禁用 MFA。禁用 MFA 后，您仍然可以使用电子邮件进行身份验证。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/cn/platform/account-management/multi-factor-authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
