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::Transfer::Types::SshPublicKey

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

Overview

Provides information about the public Secure Shell (SSH) key that is associated with a Transfer Family user for the specific file transfer protocol-enabled 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 server.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#date_importedTime

Specifies the date that the public key was added to the Transfer Family user.

Returns:

  • (Time)

5867
5868
5869
5870
5871
5872
5873
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5867

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

#ssh_public_key_bodyString

Specifies the content of the SSH public key as specified by the PublicKeyId.

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

Returns:

  • (String)

5867
5868
5869
5870
5871
5872
5873
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5867

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

#ssh_public_key_idString

Specifies the SshPublicKeyId parameter contains the identifier of the public key.

Returns:

  • (String)

5867
5868
5869
5870
5871
5872
5873
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5867

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