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
Examples
Request example
GET {SERVER_API_URL}/getLoginKeyList
Response example
<getLoginKeyListResponse>
<requestId>a32b8d65-c01c-484a-abda-688867522e82</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>4</totalRows>
<loginKeyList>
<loginKey>
<fingerprint>eb:8d:5e:0c:30:b0:8e:c6:b2:e2:18:07:bf:df:16:54</fingerprint>
<keyName>test-key</keyName>
<createDate>2018-11-28T11:27:51+0900</createDate>
</loginKey>
</loginKeyList>
</getLoginKeyListResponse>
Errors
Errors that may occur while using this action are listed below. For more information about common errors, see NAVER Cloud Platform API.
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. |