Skip to content

Elasticsearch credentials#

คุณสามารถใช้ credentials นี้เพื่อเชื่อมต่อกับ node เหล่านี้:

Prerequisites#

  • มี instance ของ Elasticsearch ที่เข้าถึงได้
  • สร้างบัญชีผู้ใช้บน instance นั้น

Supported authentication methods#

  • API key
  • Basic auth

ดูรายละเอียดเพิ่มเติมเกี่ยวกับการใช้งาน API ได้ที่ Elasticsearch's API documentation

Using API key#

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

  • URL ของ Elasticsearch instance ของคุณ
  • API Key: สร้าง API key ผ่าน Elasticsearch ดูคำแนะนำได้ที่ Elasticsearch API Keys documentation

Using basic auth#

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

  • URL ของ Elasticsearch instance ของคุณ
  • Username สำหรับเข้าสู่ระบบ
  • Password สำหรับเข้าสู่ระบบ