# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-epc.gitbook.io/ncs-documents/compute/key-pair/managing-key-pair-s.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
