getLoginKeyList

Prev Next

Overview

Searching a login key list

Description

Search a server instance (VM) and delete keys which encode or decode passwords using login keys when you access the created server instance.

Request Parameters

Parameter Name Requiredness Type Limitation Description
keyName No String Min:3, Max:30 Key name to search
pageNo No Integer Min:0, Max:2147483647 Page No. for each page size when there are multiple cases
pageSize No Integer Min:0, Max:2147483647 Page size for one search page

Response Data Type

  • LoginKeyList type
LoginKeyList extends CommonResponse
private Integer totalRows;
private List loginKeyList = new ArrayList();
LoginKey
private String fingerprint;
private String keyName;
private Date createDate;

Examples

Request

ncloud server getLoginKeyList --pageNo 1 --pageSize 3

Response

{
  "getLoginKeyListResponse": {
    "requestId": "10b5194f-4cf8-4331-bb12-d78739bd2dba",
    "returnCode": "0",
    "returnMessage": "success",
    "totalRows": 215,
    "loginKeyList": [
      {
        "fingerprint": "72:a5:d7:2f:e5:01:64:d1:c8:d5:7a:43:f4:a6:ea:0a",
        "keyName": "ysw",
        "createDate": "2018-02-20T14:34:12+0900"
      },
      {
        "fingerprint": "0a:8f:b5:9e:0a:ee:38:29:c7:1a:3b:47:b6:9c:ab:f8",
        "keyName": "bong-nangonlinetest03-dev",
        "createDate": "2018-02-19T10:29:43+0900"
      },
      {
        "fingerprint": "23:78:8c:3b:79:3c:42:46:4a:b4:ca:fa:4b:be:8a:25",
        "keyName": "hadoopcentral",
        "createDate": "2018-02-13T17:41:23+0900"
      }
    ]
  }
}
<?xml version="1.0" encoding="UTF-8" ?>
<getLoginKeyListResponse>
  <requestId>10b5194f-4cf8-4331-bb12-d78739bd2dba</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>215</totalRows>
  <loginKeyList>
    <fingerprint>72:a5:d7:2f:e5:01:64:d1:c8:d5:7a:43:f4:a6:ea:0a</fingerprint>
    <keyName>ysw</keyName>
    <createDate>2018-02-20T14:34:12+0900</createDate>
  </loginKeyList>
  <loginKeyList>
    <fingerprint>0a:8f:b5:9e:0a:ee:38:29:c7:1a:3b:47:b6:9c:ab:f8</fingerprint>
    <keyName>bong-nangonlinetest03-dev</keyName>
    <createDate>2018-02-19T10:29:43+0900</createDate>
  </loginKeyList>
  <loginKeyList>
    <fingerprint>23:78:8c:3b:79:3c:42:46:4a:b4:ca:fa:4b:be:8a:25</fingerprint>
    <keyName>hadoopcentral</keyName>
    <createDate>2018-02-13T17:41:23+0900</createDate>
  </loginKeyList>
</getLoginKeyListResponse>