Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getLoginKeyList

Prev Next

Available in VPC

Get the list of authentication keys.

Syntax

The getLoginKeyList syntax is as follows:

./ncloud vserver getLoginKeyList \
    [--keyName <key-name>] \
    [--pageNo <page-no>] \
    [--pageSize <page-size>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getLoginKeyList.

Required options

The following options are required for getLoginKeyList.

Options Type Required Description
--pageSize Integer Conditional Number of items per page
  • 1-1000 (default: 1)
  • Required when entering pageNo

Optional options

These are the optional options for getLoginKeyList. Options that are not specified will use their default values.

Options Type Required Description
--keyName String Optional Authentication key name
  • Display the full list of authentication keys if not entered.
--pageNo Integer Optional Page number
  • 0-N (default: 0)
    • First page: Enter 0 or 1.

Common options

For information about the options common to all vserver subcommands, see Server (VPC) options.

Examples

If the request to retrieve the list of authentication keys is successful, the name and creation date and time of each authentication key are returned.

Command

The command example is as follows:

./ncloud vserver getLoginKeyList \
    --pageNo 0 \
    --pageSize 10 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getLoginKeyListResponse": {
    "loginKeyList": [
      {
        "fingerprint": "",
        "keyName": "test-import-key-01",
        "createDate": "2026-05-14T08:24:14+0900"
      },
      {
        "fingerprint": "",
        "keyName": "test-login-key-01",
        "createDate": "2026-05-14T08:09:48+0900"
      }
    ],
    "requestId": "c3d4e5f6-7890-1234-cdef-345678901234",
    "returnCode": "0",
    "returnMessage": "success"
  }
}