Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
maxLevel2
absoluteUrltrue

...

Use this account type to connect Binary Snaps with data sources that use Two-Factor Auth accounts. This account supports two factor authentication (2FA) for Security File Transfer Protocol (SFTP) to access SFTP. It uses two separate security layers of verification to grant access that include the Basic Auth (username/password) and the SSH Key (username/private key) methods.

Prerequisites

  • Target FTP should be enabled with Two-Factor authentication.
  • Valid username/password and SSH key with passphrase.

Limitations and Known Issues

None.

Account Settings

...

Info
  • Asterisk (*): Indicates a mandatory field.

  • Suggestion icon (Image Added): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( Image Added ): Indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( Image Added ): Indicates that you can add fields in the fieldset.

  • Remove icon (Image Added): Indicates that you can remove fields from the fieldset.


Field NameField TypeDescription

Label*


Default Value: N/A
Example
SFTP_2FA_Auth

String

Enter a unique label for the account.

Username*


Default Value: N/A

SFTP_2FA_AuthUsername

Example:user@snaplogic.com

String/Expression
Required.

Enter a username for SSH authentication.

Password*


Default Value: N/A

user@snaplogic.comPassword

Example: m!ster18Gu@rd8!keip

String/Expression
Required. 
Enter a password associated with the supplied account username.

Private key*


Default Value: N/A

m!ster18Gu@rd8!keipPrivate

Exampleadmin_passphrase.key

String/Expression
Required. 

Enter the private key part of SSH authentication. You can also upload the private key file to the SLDB by clicking the Upload Image Modified icon

You can generate a private key using any SSH key generator. See Generate SSH Key Using PuTTY Key Generator for more information.

Key Passphrase*


Default Value: N/A

admin_passphrase.keyKey Passphrase

Examplep@$$zk!98

String/Expression
Required. 
Enter the passphrase used to decrypt the private key.
N/Ap@$$zk!98

Account Encryption

Standard Encryption

If you are using Standard Encryption, follow the High sensitivity settings under Enhanced Encryption.

Enhanced Encryption

If the account you are using has the Enhanced Encryption feature, the account fields are encrypted for each sensitivity level as shown below:

  • High: Key passphrase
  • Medium + High: Username, Key passphrase
  • Low + Medium + High: Username, Private key, Key passphrase

Generating SSH Key Using PuTTY Key Generator

You can download the PuTTYgen application for Windows using this link.

  1. Open the PuTTYgen application.


  2. Choose SSH-1 (RSA) key type under Parameters.
  3. Enter the required value in the Number of bits in a generate key field. (Default: 2048)
  4. Click Generate that is adjacent to Generate a public/private key pair under Actions.

    Note

    The PuTTY Key Generator uses mouse movements to generate a unique secure key. Move the mouse around till the progress bar fills up completely.


    The utility generates the public and private keys.

  5. Provide values in the Key comment and Key passphrase fields as required.
  6. Click Save public key and Save private key to save the private and public key (PPK) files to a secure and private location.
  7. Send the Public Key to the SFTP host.
  8. Store the keys and passphrase into the password/key vault.
Info

The PuTTY Key Generator uses the PPK format for keys. If your SFTP client requires a standard OpenSSH key format, export the key by using Export OpenSSH Key on the Conversions menu.

Image Modified


...

See Also