Class: Aws::Transfer::Types::SftpConnectorConfig

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

Overview

Contains the details for an SFTP connector object. The connector object is used for transferring files to and from a partner's SFTP server.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#trusted_host_keysArray<String>

The public portion of the host key, or keys, that are used to identify the external server to which you are connecting. You can use the ssh-keyscan command against the SFTP server to retrieve the necessary key.

The three standard SSH public key format elements are <key type>, <body base64>, and an optional <comment>, with spaces between each element. Specify only the <key type> and <body base64>: do not enter the <comment> portion of the key.

For the trusted host key, Transfer Family accepts RSA and ECDSA keys.

  • For RSA keys, the <key type> string is ssh-rsa.

  • For ECDSA keys, the <key type> string is either ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521, depending on the size of the key you generated.

Returns:

  • (Array<String>)


4963
4964
4965
4966
4967
4968
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 4963

class SftpConnectorConfig < Struct.new(
  :user_secret_id,
  :trusted_host_keys)
  SENSITIVE = []
  include Aws::Structure
end

#user_secret_idString

The identifier for the secret (in Amazon Web Services Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier must be the Amazon Resource Name (ARN) of the secret.

Returns:

  • (String)


4963
4964
4965
4966
4967
4968
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 4963

class SftpConnectorConfig < Struct.new(
  :user_secret_id,
  :trusted_host_keys)
  SENSITIVE = []
  include Aws::Structure
end