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 Amazon Web Services access key, without its secret key.

This data type is used as a response element in the

ListAccessKeys][1

operation.

[1]: docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

The ID for this access key.

Returns:

  • (String)


261
262
263
264
265
266
267
268
# File 'lib/aws-sdk-iam/types.rb', line 261

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

#create_dateTime

The date when the access key was created.

Returns:

  • (Time)


261
262
263
264
265
266
267
268
# File 'lib/aws-sdk-iam/types.rb', line 261

class AccessKeyMetadata < Struct.new(
  :user_name,
  :access_key_id,
  :status,
  :create_date)
  SENSITIVE = []
  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)


261
262
263
264
265
266
267
268
# File 'lib/aws-sdk-iam/types.rb', line 261

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

#user_nameString

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

Returns:

  • (String)


261
262
263
264
265
266
267
268
# File 'lib/aws-sdk-iam/types.rb', line 261

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