Yuhoo, I was able to make it work. The issue was that I was using a RSA Private key as an environment variable. This is what needs to be done to make that work.
wrap your key in single quotes '' and add an extra \ with all the \n appearing in the key. i.e. \n would be come \\n.