Mengkueri semua Pasangan Kunci Akses milik Pengguna RAM.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ListAccessKeys |
get |
*User
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserName |
string |
No |
Nama Pengguna RAM. Jika Pengguna RAM memanggil operasi ini dan tidak menentukan parameter ini, Pasangan Kunci Akses milik Pengguna RAM akan dikembalikan. |
zhangq**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| AccessKeys |
object |
||
| AccessKey |
array<object> |
The AccessKey pairs that belong to the RAM user. |
|
|
object |
The AccessKey pair that belongs to the RAM user. |
||
| Status |
string |
The status of the AccessKey pair. Valid values: Active and Inactive. |
Active |
| AccessKeyId |
string |
The AccessKey ID. |
0wNEpMMlzy7s**** |
| CreateDate |
string |
The time when the AccessKey pair was created. |
2015-01-23T12:33:18Z |
| RequestId |
string |
The request ID. |
4B450CA1-36E8-4AA2-8461-86B42BF4CC4E |
Contoh
Respons sukses
JSONformat
{
"AccessKeys": {
"AccessKey": [
{
"Status": "Active",
"AccessKeyId": "0wNEpMMlzy7s****",
"CreateDate": "2015-01-23T12:33:18Z"
}
]
},
"RequestId": "4B450CA1-36E8-4AA2-8461-86B42BF4CC4E"
}
Respons error
JSONformat
{
"RequestId" : "4B450CA1-36E8-4AA2-8461-86B42BF4CC4E",
"AccessKeys":{
"AccessKey":[
{
"AccessKeyId": "0wNEpMMlzy7szvai",
"Status": "Active",
"CreateDate": "2015-01-23T12:33:18Z"
},
{
"AccessKeyId": "WnIWUruvfaDT37vQ",
"Status": "Inactive",
"CreateDate": "2015-03-24T21:12:21Z"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.