Skip to content

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

Description

@voiskiTest

Issue by IQAndreas
Sunday Nov 17, 2013 at 09:30 GMT
Originally opened as IQAndreas/github-issues-import#21


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.

Activity

  1. voiskiTest commented on Nov 10, 2017

    @voiskiTest
    OwnerAuthor

    Comment by ntalbott
    Wednesday Jun 04, 2014 at 20:45 GMT


    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.

  2. voiskiTest commented on Nov 10, 2017

    @voiskiTest
    OwnerAuthor

    Comment by asmeurer
    Wednesday Oct 29, 2014 at 20:39 GMT


    This can also be done programmatically using the API.

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions