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:
- credentials are stored in plaintext in the config file
- they also get printed in the log like every other property from that file.