AWS SDK for .NET Documentation
AccessKey Class
AmazonAmazon.IdentityManagement.ModelAccessKey Did this page help you?   Yes   No    Tell us about it...
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.

Declaration Syntax
C#
public class AccessKey
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
AccessKey()()()()
Initializes a new instance of the AccessKey class

AccessKeyId
Gets and sets the property AccessKeyId.

The ID for this access key.


CreateDate
Gets and sets the property 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
Gets and sets the property SecretAccessKey.

The secret key used to sign requests.


Status
Gets and sets the property Status.

The status of the access key.

CopyC#
Active
means the key is valid for API calls, while
CopyC#
Inactive
means it is not.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UserName
Gets and sets the property UserName.

Name of the user the key is associated with.


WithAccessKeyId(String) Obsolete.
Sets the AccessKeyId property

WithCreateDate(DateTime) Obsolete.
Sets the CreateDate property

WithSecretAccessKey(String) Obsolete.
Sets the SecretAccessKey property

WithStatus(String) Obsolete.
Sets the Status property

WithUserName(String) Obsolete.
Sets the UserName property

Inheritance Hierarchy
Object
AccessKey

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