> For the complete documentation index, see [llms.txt](https://docs-epc.gitbook.io/ncs-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-epc.gitbook.io/ncs-documents/compute/key-pair/managing-key-pair-s.md).

# Managing Key Pair(s)

ในการเข้าถึง instance จำเป็นต้องมี key หรือรหัสผ่าน เพื่อความปลอดภัยของข้อมูลภายใน instance ของผู้ใช้งานเอง โดยผู้ใช้งานสามารถสร้าง key ได้ด้วยตนเอง ซึ่ง key ที่ได้จากการสร้าง เรียกว่า **Key Pair** เมื่อสร้างแล้วผู้ใช้งานจะสามารถนำ public key ที่ได้ไปใช้งาน

## Instructions

### 1. Log in เข้าสู่ project

คลิกเลือก project จากหน้า projects management เพื่อเข้าสู่หน้า project detail

![](/files/E6DSMTfdEt1ES1nWfFD0)

### 2. ไปที่ Key Pairs&#x20;

ที่แถบเมนูทางซ้าย คลิกเลือกเมนู​ COMPUTE > Key Pairs เพื่อเข้าสู่หน้า Keypairs&#x20;

![](/files/QfMpgg7FDFCi17ydJIGP)

### 3. การจัดการ Key Pairs

สามารถจัดการ Key Pair ได้ 2 วิธี ดังนี้

3.1 สร้างหรือ Import Key Pairs ([Creating a New Key Pair](/ncs-documents/compute/key-pair/creating-a-new-key-pair.md), [Importing an Existing Key Pair](/ncs-documents/compute/key-pair/importing-an-existing-key-pair.md))

3.2 ลบ Key Pair

3.3 แสดง Public Key

3.4 ตั้ง Key Pair เป็น Default Key Pair

![](/files/zRqh8uIRwXCWMmOmN0Yq)
