The AccessKey data type contains information about an AWS access key, without its secret key.
This data type is used as a response element in the action ListAccessKeys.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class AccessKeyMetadata
Public Class AccessKeyMetadata
public ref class AccessKeyMetadata
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| AccessKeyMetadata()()()() | Initializes a new instance of the AccessKeyMetadata class | |
| AccessKeyId |
The ID for this access key.
Constraints: | |
| CreateDate |
The date when the access key was created.
| |
| 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.) | |
| Status |
The status of the access key. Active means the key is valid for API calls, while Inactive means it is not.
Constraints: | |
| ToString()()()() | (Inherited from Object.) | |
| UserName |
Name of the user the key is associated with.
Constraints: | |
| WithAccessKeyId(String) |
Sets the AccessKeyId property
| |
| WithCreateDate(DateTime) |
Sets the CreateDate property
| |
| WithStatus(String) |
Sets the Status property
| |
| WithUserName(String) |
Sets the UserName property
|