Apache CloudStack 4.23.0.0 Root Admin API Reference
listUserKeys
Lists the API key pairs (API and secret keys) of a user.
Request parameters
| Parameter Name | Description | Required |
| apikeyfilter | API key of the key pair. | false |
| keypairid | ID of the key pair. | false |
| keyword | List by keyword | false |
| listall | Lists all API key pairs of users that are accessible by the calling account. Only available for administrators. Defaults to false. | false |
| page | false | |
| pagesize | false | |
| showpermissions | Whether API Key rules should be returned. Defaults to false. | false |
| userid | ID of the user that owns the keys. | false |
Response Tags
| Response Name | Description |
| id | ID of the API key pair. |
| accountid | Account ID. |
| accountname | Account name. |
| accounttype | Account type. |
| apikey | The API key of the registered user. |
| created | API key pair creation timestamp. |
| description | API key pair description. |
| domain | Name of the domain which the account belongs to. |
| domainid | ID of the domain which the account belongs to. |
| domainpath | Path of the domain which the account belongs to. |
| enddate | API key pair expiration date. |
| name | Name of the API key pair |
| permissions | Permissions of the API key pair. |
| roleid | ID of the role. |
| rolename | Name of the role. |
| roletype | Type of the role (Admin, ResourceAdmin, DomainAdmin, User). |
| secretkey | The secret key of the registered user. |
| startdate | API key pair start date. |
| state | State of the API key pair. |
| userid | ID of the user that owns the keypair. |
| username | Username of the keypair's owner. |