Fuzit

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 status

Authenticate:

bash
fuzit auth github

The GitHub CLI flow uses:

bash
gh auth login --hostname github.com --web

when gh is installed.

Credential safety

Credential handles expose metadata such as:

text
authenticated
host
source

rather than the token itself.

Tokens are not intended to appear in:

  • diagnostics;
  • serialized result objects;
  • error messages;
  • CLI arguments;
  • disk-persisted Fuzit state.

------------------------------------------------------------------------