getLoginKeyList

Prev Next

Can be used in a VPC environment.

Overview

This searches the key that encrypts and decrypts the password using the login key when connecting to the server instance (VM).

Request

Request parameter

Parameter Name Required Status Type Restrictions Description
regionCode No String - Region code
regionCode can be acquired through getRegionList action
Default: select the first region shown through getRegionList
keyName No String The key name to be queried
You can search by filtering with a key name.
pageNo No Integer The page number of the paged results
The results can shown as pages using pageNo and pageSize.
pageSize Conditional Integer The size of each page to be displayed at the time of paging
The results can shown as pages using pageNo and pageSize.
Enter it when entering pageNo.
responseFormatType No String Format type for the response result
Options : xml | json
Default : xml

Response

Response data type

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

Example

Request example

ncloud vserver getLoginKeyList --keyName test-***

Response example

<getLoginKeyListResponse>
  <requestId>c3967303-ebed-433d-9cb7-e25750236a7c</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <loginKeyList>
    <loginKey>
      <fingerprint>**:**:**:23:e4:fc:2f:35:21:1a:17:13:84:89:c1:e7</fingerprint>
      <keyName>test-***</keyName>
      <createDate>2020-08-11T10:49:11+0900</createDate>
    </loginKey>
  </loginKeyList>
</getLoginKeyListResponse>