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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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 operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

The ID for this access key.

Returns:

  • (String)


243
244
245
246
247
248
249
250
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 243

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)


243
244
245
246
247
248
249
250
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 243

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)


243
244
245
246
247
248
249
250
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 243

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)


243
244
245
246
247
248
249
250
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 243

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