Skip to content

AWS credentials#

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

Supported authentication methods#

  • API access key

ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการได้ที่ AWS's Identity and Access Management documentation

Using API access key#

ถ้าจะตั้งค่า credentials นี้ คุณต้องมีบัญชี AWS และ:

  • AWS Region ของคุณ
  • Access Key ID: สร้างขึ้นเมื่อคุณสร้าง access key
  • Secret Access Key: สร้างขึ้นเมื่อคุณสร้าง access key

วิธีสร้าง access key และตั้งค่า credential:

  1. ใน n8n credential ของคุณ เลือก AWS Region ของคุณ
  2. ล็อกอินเข้าสู่ IAM console
  3. ในแถบนำทางด้านบนขวา เลือกชื่อผู้ใช้ของคุณแล้วเลือก Security credentials
  4. ในส่วน Access keys เลือก Create access key
  5. ในหน้า Access key best practices & alternatives เลือก use case ของคุณ หากไม่แจ้งให้คุณสร้าง access key ให้เลือก Other
  6. เลือก Next
  7. ตั้งค่า description tag value สำหรับ access key เพื่อให้ระบุได้ง่ายขึ้น เช่น n8n integration
  8. เลือก Create access key
  9. เปิดเผย Access Key ID และ Secret Access Key แล้วป้อนลงใน n8n
  10. หากต้องการใช้ Temporary security credential ให้เปิดตัวเลือกนั้นแล้วเพิ่ม Session token ดูข้อมูลเพิ่มเติมเกี่ยวกับการทำงานกับ temporary security credentials ได้ที่ AWS Temporary security credential documentation
  11. หากคุณใช้ Amazon Virtual Private Cloud (VPC) เพื่อ host n8n คุณสามารถสร้างการเชื่อมต่อระหว่าง VPC ของคุณกับบาง apps ได้ ใช้ Custom Endpoints เพื่อป้อน custom endpoint ที่เกี่ยวข้องสำหรับการเชื่อมต่อนี้ การตั้งค่านี้ทำงานร่วมกับ apps เหล่านี้:
    • Rekognition
    • Lambda
    • SNS
    • SES
    • SQS
    • S3

คุณยังสามารถสร้าง access keys ผ่าน AWS CLI และ AWS API ได้ ดูคำแนะนำในการสร้าง access keys โดยใช้วิธีเหล่านี้ได้ที่ AWS Managing Access Keys documentation