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_id ⇒ String

The unique identifier for the SSH public key.

Returns:

  • (String)


11476
11477
11478
11479
11480
11481
11482
11483
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11476

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

#status ⇒ String

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)


11476
11477
11478
11479
11480
11481
11482
11483
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11476

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

#upload_date ⇒ Time

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

Returns:

  • (Time)


11476
11477
11478
11479
11480
11481
11482
11483
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11476

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

#user_name ⇒ String

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

Returns:

  • (String)


11476
11477
11478
11479
11480
11481
11482
11483
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11476

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