Skip to content

Secure token storage #715

Closed
Closed
@jaraco

Description

@jaraco

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

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