Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::IAM::Types::SSHPublicKeyMetadata

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

Overview

Contains information about an SSH public key, without the key's body or fingerprint.

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ssh_public_key_idString

The unique identifier for the SSH public key.

Returns:

  • (String)

9859
9860
9861
9862
9863
9864
9865
9866
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 9859

class SSHPublicKeyMetadata < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :status,
  :upload_date)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.

Returns:

  • (String)

9859
9860
9861
9862
9863
9864
9865
9866
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 9859

class SSHPublicKeyMetadata < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :status,
  :upload_date)
  SENSITIVE = []
  include Aws::Structure
end

#upload_dateTime

The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.

Returns:

  • (Time)

9859
9860
9861
9862
9863
9864
9865
9866
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 9859

class SSHPublicKeyMetadata < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :status,
  :upload_date)
  SENSITIVE = []
  include Aws::Structure
end

#user_nameString

The name of the IAM user associated with the SSH public key.

Returns:

  • (String)

9859
9860
9861
9862
9863
9864
9865
9866
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 9859

class SSHPublicKeyMetadata < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :status,
  :upload_date)
  SENSITIVE = []
  include Aws::Structure
end