It would be nice to document the expected format of the private key. I need use get an IMS token from a serverless action, and passing in all secrets as strings to the action. I can't seem to get the private key in the correct format for this library to accept it.
When using it w/ my private key i get the following error: error: error:0909006C:PEM routines:get_name:no start line .. which i assume is an issue w/ my private key format.