AWS SDK for .NET Documentation
ListAccessKeys Method
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceListAccessKeys()()()() 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 MaxItems and Marker parameters.

If the 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#
ListAccessKeysResponse ListAccessKeys()
Return Value
The response from the ListAccessKeys service method, as returned by AmazonIdentityManagementService.
Exceptions
ExceptionCondition
NoSuchEntityException

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.20.0 (1.5.20.0)