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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

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_idString

The ID for this access key.

Returns:

  • (String)


143
144
145
146
147
148
149
# File 'lib/aws-sdk-iam/types.rb', line 143

class AccessKeyMetadata < Struct.new(
  :user_name,
  :access_key_id,
  :status,
  :create_date)
  include Aws::Structure
end

#create_dateTime

The date when the access key was created.

Returns:

  • (Time)


143
144
145
146
147
148
149
# File 'lib/aws-sdk-iam/types.rb', line 143

class AccessKeyMetadata < Struct.new(
  :user_name,
  :access_key_id,
  :status,
  :create_date)
  include Aws::Structure
end

#statusString

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

Returns:

  • (String)


143
144
145
146
147
148
149
# File 'lib/aws-sdk-iam/types.rb', line 143

class AccessKeyMetadata < Struct.new(
  :user_name,
  :access_key_id,
  :status,
  :create_date)
  include Aws::Structure
end

#user_nameString

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

Returns:

  • (String)


143
144
145
146
147
148
149
# File 'lib/aws-sdk-iam/types.rb', line 143

class AccessKeyMetadata < Struct.new(
  :user_name,
  :access_key_id,
  :status,
  :create_date)
  include Aws::Structure
end