You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IAM::Types::AccessKeyMetadata

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains information about an AWS access key, without its secret key.

This data type is used as a response element in the ListAccessKeys operation.

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_id ⇒ String

The ID for this access key.

Returns:

  • (String) —

    The ID for this access key.

#create_date ⇒ Time

The date when the access key was created.

Returns:

  • (Time) —

    The date when the access key was created.

#status ⇒ String

The status of the access key. Active means that the key is valid for API calls; Inactive means it is not.

Possible values:

  • Active
  • Inactive

Returns:

  • (String) —

    The status of the access key.

#user_name ⇒ String

The name of the IAM user that the key is associated with.

Returns:

  • (String) —

    The name of the IAM user that the key is associated with.