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

  • 密钥和标签

¥Secret and label

相关资源#

¥Related resources

基于时间的一次性密码 (TOTP) 是一种使用当前时间生成一次性密码 (OTP) 的算法。有关更多信息,请参阅 谷歌身份验证器 |密钥 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 Authenticator 秘密

¥A Secret: The secret key encoded in the QR code during authenticator setup. It's an arbitrary key value encoded in Base32, for example: BVDRSBXQB2ZEL5HE. Refer to Google Authenticator Secret for more information.

  • 标签:账户标识符。它包含一个以 URI 编码字符串形式存在的账户名。你可以包含前缀来标识管理账户的提供商或服务。如果你使用前缀,请使用字面值或 URL 编码的冒号分隔发件人前缀和账户名称,例如:GitHub:john-doe。有关更多信息,请参阅 Google Authenticator 标签

¥A Label: The identifier for the account. It contains an account name as a URI-encoded string. You can include prefixes to identify the provider or service managing the account. If you use prefixes, use a literal or url-encoded colon to separate the issuer prefix and the account name, for example: GitHub:john-doe. Refer to Google Authenticator Label for more information.