Member-only story

Generate a key for Salesforce loader without Windows

John Wheeler
3 min readMay 7, 2022

--

https://www.merriam-webster.com/word-of-the-day/obfuscate-2016-11-17

I inadvertently broke an integration into Salesforce that was using data loader by disabling a user account of a person that had left the company. The integration was built with dataloader using this users credentials instead of using a service account with API only access. I took the opportunity to set this up properly by creating a service account and documenting the authorization and authentication profiles used in Salesforce.

Windows only?

As I read through the documentation on data loader I stumbled on the following.

Data loader requires windows to generate the encryption string required to run the load process. That’s a problem as I’m on a Mac. I went through a list of options

  • Setup an ec2 instance in AWS with Windows.
  • Install parallels on my machine and run Windows in a container.
  • Install Wine or some other windows emulator.

I ended up choosing the last option, I didn’t want to deal with windows and I wasn’t sure about licensing. Though I’d never run Wine, I felt like I’d rather try to solve issues that arise from trying…

--

--

John Wheeler
John Wheeler

Written by John Wheeler

Security professional, Mac enthusiast, writing code when I have to.

No responses yet