The AccessKey data type contains information about an AWS access key.

This data type is used as a response element in the actions CreateAccessKey and ListAccessKeys.

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class AccessKey
Public Class AccessKey
public ref class AccessKey

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AccessKey()()()()
Initializes a new instance of the AccessKey class
AccessKeyId
The ID for this access key.

Constraints:

Length
16 - 32
Pattern
[\w]*

CreateDate
The date when the access key was created.
Equals(Object)
Determines whether the specified Object is equal to the current 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.)
SecretAccessKey
The secret key used to sign requests.
Status
The status of the access key. Active means the key is valid for API calls, while Inactive means it is not.

Constraints:

Allowed Values
Active, Inactive

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserName
Name of the user the key is associated with.

Constraints:

Length
1 - 64
Pattern
[\w+=,.@-]*

WithAccessKeyId(String)
Sets the AccessKeyId property
WithCreateDate(DateTime)
Sets the CreateDate property
WithSecretAccessKey(String)
Sets the SecretAccessKey property
WithStatus(String)
Sets the Status property
WithUserName(String)
Sets the UserName property

Inheritance Hierarchy

System..::..Object
  Amazon.IdentityManagement.Model..::..AccessKey

See Also