Added option to set contents of pem instead of path to file
Merge commit '80b740647bf3add0fe9667367ce84ca38cb4ca61'