class Aws::IAM::Types::AccessKey
Contains information about an Amazon Web Services access key.
This data type is used as a response element in the CreateAccessKey and ListAccessKeys operations.
<note markdown=“1”> The `SecretAccessKey` value is returned only in response to CreateAccessKey. You can get a secret access key only when you first create an access key; you cannot recover the secret access key later. If you lose a secret access key, you must create a new access key.
</note>
@!attribute [rw] user_name
The name of the IAM user that the access key is associated with. @return [String]
@!attribute [rw] access_key_id
The ID for this access key. @return [String]
@!attribute [rw] status
The status of the access key. `Active` means that the key is valid for API calls, while `Inactive` means it is not. @return [String]
@!attribute [rw] secret_access_key
The secret key used to sign requests. @return [String]
@!attribute [rw] create_date
The date when the access key was created. @return [Time]
@see docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AccessKey AWS API Documentation
Constants
- SENSITIVE