getLoginKeyList

Prev Next

Available in VPC

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
regionCode No String - Region code
regionCode can be obtained through the getRegionList action.
Default: Select the first Region of the getRegionList search results.
keyName No String - Name of the key to query
You can search by filtering with key name
pageNo No Integer - Page numbers in paged results
The results can be paged using pageNo and pageSize.
pageSize Conditional Integer - Size of each page to display when paging
The results can be paged using pageNo and pageSize.
Required when entering pageNo
responseFormatType No String - Response result's format type
Options: xml | json
Default: xml

Response

Response body

Examples

Request example

GET {API_URL}/getLoginKeyList
?regionCode=KR
&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>