AWS credentials#
คุณสามารถใช้ credentials นี้เพื่อเชื่อมต่อกับ node เหล่านี้:
- AWS Bedrock Chat Model
- AWS Certificate Manager
- AWS DynamoDB
- AWS Elastic Load Balancing
- AWS Lambda
- AWS Rekognition
- AWS S3
- AWS SES
- AWS SNS
- AWS SNS Trigger
- AWS SQS
- AWS Textract
- AWS Transcribe
- Embeddings AWS Bedrock
Supported authentication methods#
- API access key
Related resources#
ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการได้ที่ 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:
- ใน n8n credential ของคุณ เลือก AWS Region ของคุณ
- ล็อกอินเข้าสู่ IAM console
- ในแถบนำทางด้านบนขวา เลือกชื่อผู้ใช้ของคุณแล้วเลือก Security credentials
- ในส่วน Access keys เลือก Create access key
- ในหน้า Access key best practices & alternatives เลือก use case ของคุณ หากไม่แจ้งให้คุณสร้าง access key ให้เลือก Other
- เลือก Next
- ตั้งค่า description tag value สำหรับ access key เพื่อให้ระบุได้ง่ายขึ้น เช่น
n8n integration
- เลือก Create access key
- เปิดเผย Access Key ID และ Secret Access Key แล้วป้อนลงใน n8n
- หากต้องการใช้ Temporary security credential ให้เปิดตัวเลือกนั้นแล้วเพิ่ม Session token ดูข้อมูลเพิ่มเติมเกี่ยวกับการทำงานกับ temporary security credentials ได้ที่ AWS Temporary security credential documentation
- หากคุณใช้ 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