---
title: "getRootPasswordServerInstanceList"
slug: "cli-server-getrootpasswordserverinstancelist"
updated: 2026-04-23T08:56:57Z
published: 2026-04-23T08:58:53Z
canonical: "cli.ncloud-docs.com/cli-server-getrootpasswordserverinstancelist"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getRootPasswordServerInstanceList

## 개요<a name="개요"></a>

서버 root 계정의 비밀번호 서버 인스턴스 리스트 조회

## 설명 <a name="설명"></a>

서버(VM)의 로그인키로 root 계정의 비밀번호를 조회합니다.

## 요청 파라미터 <a name="요청파라미터"></a>

| 파라미터 명                                     | 필수 여부  | 타입   | 제약사항 | 설명                                                         |
| ----------------------------------------------- | ----------- | ------ | -------- | ------------------------------------------------------------ |
| rootPasswordServerInstanceList.serverInstanceNo | Yes         | String |          | 서버 인스턴스 번호                  |
| rootPasswordServerInstanceList.privateKey       | Yes         | String |          | - 서버 생성 시 적용한 로그인키<br>인증키가 저장된 경로를 받음<br>        * 입력된 Key 값은 네트워크로 전송되지 않음<br>        ex)   file://directory1/directory2/*.pem<br>        ex)   https://kr.objectstorage.ncloud.com/bucket/penguin.pem |

## 응답 데이터 타입 <a name="응답데이터타입"></a>

- RootPasswordServerInstance 타입

| RootPasswordServerInstance extends CommonResponse |
| ------------------------------------------------- |
| private String serverInstanceNo;                  |
| private String rootPassword;                      |

## 예시 <a name="예시"></a>

### 호출 <a name="호출"></a>

```
ncloud server getRootPasswordServerInstanceList --rootPasswordServerInstanceList "serverInstanceNo=886621, privateKey='file:///C:/Users/USER/Desktop/private/key/penguin-beta.pem'" "serverInstanceNo=886624, privateKey='file:///C:/Users/USER/Desktop/private/key/penguin-beta.pem'"
```

### 응답  <a name="응답"></a>

```json
{
  "getRootPasswordServerInstanceListResponse": {
    "requestId": "20bb8687-5f38-40be-bea3-03adab55f069",
    "returnCode": "0",
    "returnMessage": "success",
    "totalRows": 2,
    "rootPasswordServerInstanceList": [
      {
        "serverInstanceNo": "886621",
        "rootPassword": "N2T!FH93*hd"
      },
      {
        "serverInstanceNo": "886624",
        "rootPassword": "R78D55h9J#"
      }
    ]
  }
}
```
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<getRootPasswordServerInstanceListResponse>
  <requestId>20bb8687-5f38-40be-bea3-03adab55f069</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>2</totalRows>
  <rootPasswordServerInstanceList>
    <serverInstanceNo>886621</serverInstanceNo>
    <rootPassword>N2T!FH93*hd</rootPassword>
  </rootPasswordServerInstanceList>
  <rootPasswordServerInstanceList>
    <serverInstanceNo>886624</serverInstanceNo>
    <rootPassword>R78D55h9J#</rootPassword>
  </rootPasswordServerInstanceList>
</getRootPasswordServerInstanceListResponse>
```
