--- title: "getLoginKeyList" slug: "compute-server-getloginkeylist" updated: 2026-09-17T10:06:00Z published: 2026-09-17T10:06:00Z canonical: "api.ncloud-docs.com/compute-server-getloginkeylist" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getLoginKeyList ## Overview Get a key to encrypt and decrypt the password using a login key when connecting to a server instance (VM). ## Request ### Request parameters | Parameter name | Required | Type | Restrictions | Description | | --- | --- | --- | --- | --- | | keyName | No | String | Min: 3, Max: 30 | - Name of the key to query The results can be filtered by keyName. | | pageNo | No | Integer | Min: 0, Max: 2147483647 | - Page number of the paged results The results can be paged using pageNo. | | pageSize | No | Integer | Min: 0, Max: 2147483647 | - Size of each page to be displayed when paging The results can be paged using pageSize. | | responseFormatType | No | String | | - Response result's format type Options: xml \| json Default: xml | ## Response ### Response body - [LoginKeyList](/docs/en/common-apidatatype-loginkeylist) ## Examples ### Request example ``` GET {SERVER_API_URL}/getLoginKeyList ``` ### Response example ``` a32b8d65-c01c-484a-abda-688867522e82 0 success 4 eb:8d:5e:0c:30:b0:8e:c6:b2:e2:18:07:bf:df:16:54 test-key 2018-11-28T11:27:51+0900 ``` ## Errors Errors that may occur while using this action are listed below. For more information about common errors, see [NAVER Cloud Platform API](/docs/en/common-ncpapi-index). | HTTP Response Code | Return code | Return message | | --- | --- | --- | | 400 | 10400 | Invalid authentication key. Please check authentication key or input type and try again. | | 400 | 10401 | Input authentication message does not coincide. | | 400 | 10402 | Authentication message input time has been exceeded. Please try again. | | 400 | 10403 | Session has been expired. | | 400 | 10404 | This is not authenticated session. |