Skip to content

Split config file - to separate credentials #937

Description

@kmutahar

Describe the feature or problem you’d like to solve

I want to recommend that the config file be split it to two files. Right now since only 2 options exist for for the config its not a problem but to future proof it I would recommend for the current structure of putting the config in ~/config/gh/config.yml is that to follow something like how aws cli does it by having the credentials stored in a separate file and the config parameters on their own.

This may also allow the use of multiple accounts since the credentials would be all in one place. #326

Proposed solution

I propose that ~/config/gh/credentials file be created for credentials and ~/config/gh/config.yml file to stay as is just with no credentials.

This can be most beneficial for people that use dotfiles or other methods of syncing config files cross computers or as backups.

Activity

  1. vilmibm commented on May 15, 2020

    @vilmibm
    Contributor

    This is planned work and opening this issue is literally on my TODO list for today. So thank you!

  2. vilmibm commented on May 15, 2020

    @vilmibm
    Contributor

    Marking with the aliases label since we want this done before alias support goes out

  3. self-assigned this
    on May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementa request to improve CLI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions