Closed TrevorS closed 10 years ago
I suppose that would be an important note, but I figured it was a bit of a given. The same rule applies to environment variables, if people commit their bash/zsh/whatever config to public repositories, too. I've suggested to a few people that they source a local vim file with the variable set, which is how I do it, but I guess it's worth develing into more.
Thanks!
Hello Jonathan,
You suggest to users of github-issues.vim that they should add their GitHub API token to their
.vimrc
. This can be dangerous if the user commits their vim files to a public repository.One option is to use a environment variable to hold the key they would like to use with your vim plugin.
Maybe there should be a warning in your documentation that reminds everyone that GitHub API tokens should be treated like passwords.
https://help.github.com/articles/creating-an-access-token-for-command-line-use