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
|
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
|
--pageNo |
Integer | Optional | Page number
|
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"
}
}