--- title: "getRootPasswordServerInstanceList" slug: "cli-vserver-server-getrootpasswordserverinstancelist" tags: ["Server", "VPC"] updated: 2026-09-17T10:11:00Z published: 2026-09-17T10:11:00Z canonical: "cli.ncloud-docs.com/cli-vserver-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 VPC環境で利用できます。 サーバインスタンス(VM)の認証キーを使用して管理者パスワードリストを照会します。 ## 構文 `getRootPasswordServerInstanceList`構文は次の通りです。 ``` ./ncloud vserver getRootPasswordServerInstanceList \ --rootPasswordServerInstanceList \ [--regionCode ] \ [--output ] ``` ## オプション `getRootPasswordServerInstanceList`の実行時に指定できるオプションについて説明します。 ### 必須オプション `getRootPasswordServerInstanceList`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--rootPasswordServerInstanceList` | List | Required | サーバインスタンスと認証キーのマッピングリスト - 各項目は、二重引用符の中に{フィールド=‘値’}のペアをコンマで区切って入力 - `serverInstanceNo` (必須): サーバインスタンス番号。[getServerInstanceList](/docs/ja/cli-vserver-server-getserverinstancelist)を参照 - `privateKey` (必須): 認証キー(秘密鍵)。作成するか、外部から取得した PEMファイルの内容を入力。改行は`\n`を利用。`file://`または`http(s)://`パス形式も対応 | ### 共通オプション `vserver`コマンドで共通して使用するオプションについては、[Server (VPC)のオプション](/docs/ja/cli-vserver#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 管理者パスワードリストの照会リクエストが成功すると、各サーバインスタンスの識別情報と復号化された管理者パスワードが返されます。 ### コマンド コマンドの例は次の通りです。 ``` ./ncloud vserver getRootPasswordServerInstanceList \ --rootPasswordServerInstanceList \ "serverInstanceNo='34567890', privateKey='file://path/to/key.pem'" \ "serverInstanceNo='34567891', privateKey='file://path/to/key.pem'" \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "getRootPasswordServerInstanceListResponse": { "totalRows": 1, "rootPasswordServerInstanceList": [ { "serverInstanceNo": "34567890", "rootPassword": "" } ], "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "returnCode": "0", "returnMessage": "success" } } ```