Class: Aws::Transfer::Types::SshPublicKey

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-transfer/types.rb

Overview

Provides information about the public Secure Shell (SSH) key that is associated with a user account for a specific server (as identified by ‘ServerId`). The information returned includes the date the key was imported, the public key contents, and the public key ID. A user can store more than one SSH public key associated with their user name on a specific SFTP server.

Instance Attribute Summary collapse

Instance Attribute Details

#date_importedTime

The date that the public key was added to the user account.

Returns:

  • (Time)


1185
1186
1187
1188
1189
1190
# File 'lib/aws-sdk-transfer/types.rb', line 1185

class SshPublicKey < Struct.new(
  :date_imported,
  :ssh_public_key_body,
  :ssh_public_key_id)
  include Aws::Structure
end

#ssh_public_key_bodyString

The content of the SSH public key as specified by the ‘PublicKeyId`.

Returns:

  • (String)


1185
1186
1187
1188
1189
1190
# File 'lib/aws-sdk-transfer/types.rb', line 1185

class SshPublicKey < Struct.new(
  :date_imported,
  :ssh_public_key_body,
  :ssh_public_key_id)
  include Aws::Structure
end

#ssh_public_key_idString

The ‘SshPublicKeyId` parameter contains the identifier of the public key.

Returns:

  • (String)


1185
1186
1187
1188
1189
1190
# File 'lib/aws-sdk-transfer/types.rb', line 1185

class SshPublicKey < Struct.new(
  :date_imported,
  :ssh_public_key_body,
  :ssh_public_key_id)
  include Aws::Structure
end