The client side certs and their associated private keys can currently only be read in as a file path. Added support for passing it in as a PEM encoded string. To prevent the private key from being read out of memory, this data is then dumped into a Tempfile and then read back out, similar to the way it is done currently. Also added tests to ensure this works properly.
Added support for passing in a client side cert/key in pem format
@ehowe I'm not sure I understand the need for this. It adds a lot of complexity and the values would still be in memory in the hash, regardless of writing out to the files. Also, couldn't you just write the tempfiles outside excon and pass them in, instead of excon needing to be concerned about it? Sorry if I'm missing the point, it just is not super clear to me what we are gaining here I guess. Thanks!
Opened a new pull here: #236
closing in favor of #236