|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
Returns information about the Access Key IDs associated with the specified user. If there are none, the action returns an empty list.
Although each user is limited to a small number of keys, you can still paginate the results
UserName field is not specified, the UserName is determined implicitly based
on the AWS Access Key ID used to sign the request. Because this action works for access keys under
the AWS account, this API can be used to manage root credentials even if the AWS account has no associated users.
To ensure the security of your AWS account, the secret access key is accessible only during key and user creation.
For information about the common parameters that all actions use, see Common Parameters.
Use this parameter only when paginating results, and only in a subsequent request after you've received a response
where the results are truncated. Set it to the value of the
Marker element in the response you just received.
Length constraints: Minimum length of 1. Maximum length of 320.
Use this parameter only when paginating results to indicate the maximum number of keys you want in the response. If there are
additional keys beyond the maximum you specify, the
IsTruncated response element is
This parameter is optional. If you do not include it, it defaults to 100.
Name of the user.
Length constraints: Minimum length of 1. Maximum length of 128.
returned in a
A list of access key metadata.
Type: AccessKeyMetadata list
A flag that indicates whether there are more keys to list. If your results were truncated, you can make a subsequent
pagination request using the
Marker request parameter to retrieve more keys in the list.
true, this element is present and contains the value to use for the
parameter in a subsequent pagination request.
For information about the errors that are common to all actions, see Common Errors.
The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
HTTP Status Code: 404
https://iam.amazonaws.com/ ?Action=ListAccessKeys &UserName=Bob &Version=2010-05-08 &AUTHPARAMS
<ListAccessKeysResponse> <ListAccessKeysResult> <UserName>Bob</UserName> <AccessKeyMetadata> <member> <UserName>Bob</UserName> <AccessKeyId>AKIAIOSFODNN7EXAMPLE</AccessKeyId> <Status>Active</Status> </member> <member> <UserName>Bob</UserName> <AccessKeyId>AKIAI44QH8DHBEXAMPLE</AccessKeyId> <Status>Inactive</Status> </member> </AccessKeyMetadata> <IsTruncated>false</IsTruncated> </ListAccessKeysResult> <ResponseMetadata> <RequestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</RequestId> </ResponseMetadata> </ListAccessKeysResponse>