Lists the AccessKeys of a RAM user.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes ListAccessKeys

The name of this action.

Value: ListAccessKeys

UserName String No Alice

The username of the RAM user. If this parameter is not set when the user logs on to the console, the AccessKeys of this user are displayed.

Response parameters

Parameter Type Example value Description
AccessKeys N/A N/A The information about the RAM user.
AccessKeyId String 0wNEpMMlzy7s**** The AccessKeyId.
CreateDate String 2015-01-23T12:33:18Z The date and time when an AccessKey was created.
Status String Active

The status of an AccessKey.

Valid values: Active | Inactive

RequestId String 4B450CA1-36E8-4AA2-8461-86B42BF4CC4E The request ID.


Request example
&<Common parameters>

Response example

XML format


JSON format



For a list of error codes, visit the API Error Center.