Queries the details of a specified revoked access key that belongs to a Resource Access Management (RAM) user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:GetAccessKeyInfoInRecycleBin |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserAccessKeyId |
string |
Yes |
The access key ID of the Resource Access Management (RAM) user. |
LTAI******************* |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
4507D1CD-526A-4E2B-A1E2-3AB045D1EE0B |
| AccessKey |
object |
The access key information. |
|
| UserId |
string |
The ID of the Resource Access Management (RAM) user. |
20732900249392**** |
| UserPrincipalName |
string |
The logon name of the Resource Access Management (RAM) user. |
test@example.onaliyun.com |
| UserRecycled |
boolean |
Indicates whether the Resource Access Management (RAM) user to which the access key belongs is revoked. Valid values:
|
true |
| AccessKeyId |
string |
The access key ID. |
LTAI******************* |
| CreateDate |
string |
The time when the access key was created. Format: RFC 3339 (UTC). Example: 2020-10-12T09:12:00Z. |
2020-10-12T09:12:00Z |
| RecycleDate |
string |
The time when the access key was deleted and moved to the recycle bin. Format: RFC 3339 (UTC). Example: 2020-10-12T10:12:00Z. |
2020-10-12T10:12:00Z |
| DeleteDate |
string |
The time when the access key will be permanently deleted from the recycle bin. Format: RFC 3339 (UTC). Example: 2020-11-12T10:12:00Z. |
2020-11-12T10:12:00Z |
Examples
Success response
JSON format
{
"RequestId": "4507D1CD-526A-4E2B-A1E2-3AB045D1EE0B",
"AccessKey": {
"UserId": "20732900249392****",
"UserPrincipalName": "test@example.onaliyun.com",
"UserRecycled": true,
"AccessKeyId": "LTAI*******************",
"CreateDate": "2020-10-12T09:12:00Z",
"RecycleDate": "2020-10-12T10:12:00Z",
"DeleteDate": "2020-11-12T10:12:00Z"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.