Skip to content

TOTP credentials#

คุณสามารถใช้ credentials นี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้ได้:

Prerequisites#

สร้าง Secret และ Label สำหรับ TOTP

Supported authentication methods#

  • Secret and label

TOTP (Time-based One-time Password) คืออัลกอริทึมที่ใช้เวลาปัจจุบันในการสร้างรหัสผ่านแบบใช้ครั้งเดียว (OTP) ดูรายละเอียดเพิ่มเติมได้ที่ Google Authenticator | Key URI format

Using secret and label#

ในการตั้งค่า credentials นี้ คุณจะต้องมี:

  • Secret: คีย์ลับที่ได้จาก QR code ตอนตั้งค่า authenticator เป็นคีย์ที่เข้ารหัสแบบ Base32 เช่น BVDRSBXQB2ZEL5HE ดูรายละเอียดได้ที่ Google Authenticator Secret
  • Label: ตัวระบุสำหรับบัญชี โดยเป็นชื่อบัญชีในรูปแบบ URI-encoded string สามารถใส่ prefix เพื่อระบุ provider หรือ service ที่ดูแลบัญชีนี้ได้ ถ้าใช้ prefix ให้คั่นด้วย colon หรือ url-encoded colon เช่น GitHub:john-doe ดูรายละเอียดได้ที่ Google Authenticator Label