Skip to content

TOTP 凭证(TOTP credentials)#

你可以使用以下凭据验证以下节点:

🌐 You can use these credentials to authenticate the following nodes:

先决条件(Prerequisites)#

生成一个 TOTP 密钥标签

🌐 Generate a TOTP Secret and Label.

支持的身份验证方法(Supported authentication methods)#

  • 密钥和标签

基于时间的一次性密码(TOTP)是一种使用当前时间生成一次性密码(OTP)的算法。有关更多信息,请参阅 Google 身份验证器 | 密钥 URI 格式

🌐 Time-based One-time Password (TOTP) is an algorithm that generates a one-time password (OTP) using the current time. Refer to Google Authenticator | Key URI format for more information.

使用密钥和标签(Using secret and label)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need:

  • 一个密钥:在身份验证器设置过程中编码在二维码中的密钥。这是一个任意的键值,采用 Base32 编码,例如:BVDRSBXQB2ZEL5HE。有关更多信息,请参阅 Google 身份验证器密钥
  • A 标签:账户的标识符。它包含一个作为 URI 编码字符串的账户名称。你可以包含前缀来标识管理该账户的提供者或服务。如果使用前缀,请使用字面量或 URL 编码的冒号分隔发行者前缀和账户名称,例如:GitHub:john-doe。更多信息请参考 Google Authenticator 标签