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

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 AWS access key, without its secret key.

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

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

The ID for this access key.

Returns:

  • (String)


140
141
142
143
144
145
146
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 140

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)


140
141
142
143
144
145
146
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 140

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 the key is valid for API calls; Inactive means it is not.

Returns:

  • (String)


140
141
142
143
144
145
146
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 140

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)


140
141
142
143
144
145
146
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 140

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