GitHub authentication
GitHub authentication documentation.
Credential priority
Current credential resolution:
1. FUZIT_GITHUB_TOKEN2. GH_TOKEN3. GitHub CLI credential 4. anonymous access
Set the Fuzit-specific token:
PowerShell:
powershell
$env:FUZIT_GITHUB_TOKEN = "..."POSIX:
bash
export FUZIT_GITHUB_TOKEN="..."Fallback:
bash
export GH_TOKEN="..."Fuzit does not accept a CLI --token argument.
Authentication command
bash
fuzit auth statusAuthenticate:
bash
fuzit auth githubThe GitHub CLI flow uses:
bash
gh auth login --hostname github.com --webwhen gh is installed.
Credential safety
Credential handles expose metadata such as:
text
authenticated
host
sourcerather than the token itself.
Tokens are not intended to appear in:
- diagnostics;
- serialized result objects;
- error messages;
- CLI arguments;
- disk-persisted Fuzit state.
------------------------------------------------------------------------
