Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for using an API key instead of username/password combination #21

Open
IQAndreas opened this issue Nov 17, 2013 · 3 comments
Open

Comments

@IQAndreas
Copy link
Owner

Even though the script doesn't do anything "funny" with the user's credentials (which can be clearly seen since the code is open source) it's still not a good idea requiring a password in the script (and it's especially not a good idea to store that password in a plaintext file on your computer!)

I added the option of prompting for a password when the script, but I still would like the capability to use API keys instead.

@ntalbott
Copy link

ntalbott commented Jun 4, 2014

This actually already works; if you create a Personal Access Token here:

authorized applications 2014-06-04 16-44-26 2014-06-04 16-44-48

You can then change config.ini like this:

[login]
username = <GENERATED TOKEN>
password = x-oauth-basic

Just used it and it worked like a charm.

@asmeurer
Copy link
Contributor

This can also be done programmatically using the API.

@mikemaccana
Copy link

Added to README #75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants