How to Prevent gh CLI from Leaving a Plaintext Token on WSL2
On WSL2 without a working keyring, gh auth login falls back to storing the token in plaintext at ~/.config/gh/hosts.yml. Worse, the OAuth token GitHub CLI issues never expires …
•
4 min read

