- Newest
- Most votes
- Most comments
I've tested it with WebUI and CLI
2 Access Keys are the maximum allowed
Do you see more than 2 keys in the console ?
Oleksii Bebych, this is what happened when I ran the test mentioned in the first comment...again:
And this is the aws cli output:
$ aws iam list-access-keys --user-name test
{
"AccessKeyMetadata": [
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBS2V66MKOU",
"Status": "Active",
"CreateDate": "2024-10-15T17:51:28+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBSR6Q3TKWY",
"Status": "Active",
"CreateDate": "2024-10-15T17:51:28+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBS2RGYO5P6",
"Status": "Active",
"CreateDate": "2024-10-15T17:51:28+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBSRUQBM7XI",
"Status": "Active",
"CreateDate": "2024-10-15T17:51:28+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBSYYHOQ4D7",
"Status": "Active",
"CreateDate": "2024-10-15T17:51:28+00:00"
}
]
}
I hope this clarifies everything. Just run the initial test :)
answered 2 years ago
And here's a more successful attempt (incomplete screenshot):
aws cli:
{
"AccessKeyMetadata": [
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBS7ZHOW3EI",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBS5G57PZWC",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBSWCM3FQNM",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBS3SKGTOGX",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBSSZEFXDOJ",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBS6KCEFAV5",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBS364DKLWZ",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBSRSRAKFE5",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBSXPGOEF6T",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
},
{
"UserName": "test",
"AccessKeyId": "AKIAZZD4VWBSQ7GJYIIW",
"Status": "Active",
"CreateDate": "2024-10-15T18:08:34+00:00"
}
]
}
answered 2 years ago
AWS Identity and Access Management (IAM) team has investigated the issue related to IAM user access keys. The team identified that due to a race condition, an IAM user can have more than two access keys. All access keys associated with an IAM user are shown on the AWS management console and are returned as response of the ListAccessKeys API.
answered 2 years ago
Relevant content
- AWS OFFICIALUpdated a year ago

Yes, there are more than two keys there but I did not use the console, see original comment.
do you see them via CLI ?
I have added some updates to this...