waynerobinson / xeroizer

Xero accounting system API library.
http://waynerobinson.github.com/xeroizer
Other
238 stars 311 forks source link

Document how to provide a private key directly #487

Closed matt17r closed 5 years ago

matt17r commented 5 years ago

https://github.com/waynerobinson/xeroizer/issues/338 was closed without being implemented. https://github.com/waynerobinson/xeroizer/issues/80 previously provided a workaround to the same underlying problem/question.

This documentation change explains how to provide a private key directly (rather than a file path) and provides examples for two common scenarios; using environment variables or Rails Credentials.

N.B. The very next section on PartnerApplications also talks about private key paths. I considered adding a "nod" back to this section from there but didn't want to distract from the main point. Might be helpful for those who aren't reading the README sequentially though.

CloCkWeRX commented 5 years ago

Thanks!