AWS SDK for .NET Documentation
ListAccessKeys Method (request)
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceClientListAccessKeys(ListAccessKeysRequest) 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 using the

CopyC#
MaxItems
and
CopyC#
Marker
parameters.

If the

CopyC#
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.

Note:
To ensure the security of your AWS account, the secret access key is accessible only during key and user creation.
Declaration Syntax
C#
public ListAccessKeysResponse ListAccessKeys(
	ListAccessKeysRequest request
)
Parameters
request (ListAccessKeysRequest)
Container for the necessary parameters to execute the ListAccessKeys service method.
Return Value
The response from the ListAccessKeys service method, as returned by IdentityManagementService.
Exceptions
ExceptionCondition
NoSuchEntityException The request was rejected because it referenced an entity that does not exist. The error message describes the entity.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)