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

Support reading GitHub token from an environment variable #8

Open
hovsater opened this issue Jun 1, 2024 · 0 comments
Open

Support reading GitHub token from an environment variable #8

hovsater opened this issue Jun 1, 2024 · 0 comments

Comments

@hovsater
Copy link

hovsater commented Jun 1, 2024

I am proposing an enhancement to allow overriding the default token path by reading the GitHub token from an environment variable, in addition to the existing command line flag.

Would it be acceptable to add functionality to read the GitHub token from an environment variable? This would provide an alternative way to supply the token, potentially improving flexibility and security, as users often prefer environment variables for sensitive information.

One might argue that the same result can be achieved by passing the environment variable to the command line flag. While this is true, directly supporting environment variables may reduce the risk of exposing sensitive information in the command history. It also aligns with common practices in other tools and environments, where environment variables are a standard method for managing configuration and secrets.

I am of course willing to do the work to implement this feature if it is deemed useful.

Thank you for considering this request and for creating such a valuable tool. I appreciate all the work that has gone into it!

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

No branches or pull requests

1 participant