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.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class ListAccessKeysRequest : AmazonWebServiceRequest
Public Class ListAccessKeysRequest _ Inherits AmazonWebServiceRequest
public ref class ListAccessKeysRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| ListAccessKeysRequest()()()() | Initializes a new instance of the ListAccessKeysRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Marker |
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.
Constraints: | |
| MaxItems |
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 true.
Constraints: | |
| ToString()()()() | (Inherited from Object.) | |
| UserName |
Name of the user.
Constraints: | |
| WithMarker(String) |
Sets the Marker property
| |
| WithMaxItems(Int32) |
Sets the MaxItems property
| |
| WithUserName(String) |
Sets the UserName property
|
Inheritance Hierarchy
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.IdentityManagement.Model..::..ListAccessKeysRequest