Allow credentials to be retrieved from the environment#74
Conversation
|
https://www.npmjs.com/package/keytar seems like it might be a bit more secure than a plain text ENV variable. If we do go this route though, I think it might make sense to not add the |
|
I'm fine with either the approach here or the more secure option proposed by @aaronjorbin but, with apologies, the landing of a few other PR's have introduced merge conflicts either way. Sorry for dropping that on you @pento |
|
Huh, I added the |
344dfa8 to
0e77288
Compare
|
No objections on either method, I'm happy to go as-is for now and look to adding keytar in a future iteration 👍 |
So that the
upload_patchtask can be run programatically, it would be helpful if it could retrieve WordPress.org credentials from the environment.To Test
In WordPress'
package.json, setgrunt-patch-wordpresstoWordPress/grunt-patch-wordpress#add/credentials-from-environment, then runnpm install.Run: