Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Secure token storage #715

Copy link
Copy link
@jaraco

Description

@jaraco
Issue body actions

Description of the problem, including code/CLI snippet

I haven't read the code, but from reading the documentation, it sounds like python-gitlab only has support for soliciting a private-token from a plain-text config file in the user's home directory. Better techniques exist for storing secrets more securely, including the keyring library, which stores passwords in system-managed secure stores. It would be nice if the library would allow and even recommend that tokens be stored/queried there.

Expected Behavior

Users would be incentivized not to store any secrets on the file system in plain text.

Actual Behavior

Users are required to store secrets in the file system in plain text.

Specifications

  • python-gitlab version: 1.8.0
  • API version you are using (v3/v4): n/a
  • Gitlab server version (or gitlab.com): n/a
00willo, devpie, raczben and bgshacklett

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.