Skip to main content
Question

How to store credentials for FTP connection in a secure and configurable way? The credentials changes from one env to another

  • June 19, 2022
  • 1 reply
  • 116 views

I have a workspace which reads files from an SFTP location. I am using FTPCaller to connect to the SFTP. The credentials will change depending on the env i.e. different creds for dev, qa and prod.

What is the best way to store credentials for the SFTP connection? Right now, I have these in a config file stored in Resources>Data. My workspaces reads this into a variable and then uses it to connect to the SFTP.

However, this is not safe since:

  1. credentials are stored in plaintext in the config file
  2. they also get printed in the log like every other property from that file.

1 reply

j.botterill
Influencer
Forum|alt.badge.img+40
  • Influencer
  • June 20, 2022

Hi sseth2011,

A few options exist:

  1. Since 2021 fme workbench has this option to add additional encryption of workspaces https://community.safe.com/s/article/password-protection-for-fme-workspaces
  2. I also read this article which might help in this case ? https://community.safe.com/s/article/Using-a-private-SSH-key-with-FTPCaller-to-authenticate-an-SFTP-Connection-on-FME-Server-and-FME-Desktop

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings