Skip to content

mise github token

Display the GitHub token mise will use for a given host

Shows which token source mise would use, useful for debugging authentication issues. The token is masked by default.

Arguments

[HOST]

GitHub hostname

Default: github.com

Flags

--unmask

Show the full unmasked token

Examples:

$ mise github token
github.com: ghp_…xxxx (source: GITHUB_TOKEN)

$ mise github token --unmask
github.com: ghp_xxxxxxxxxxxx (source: GITHUB_TOKEN)

$ mise github token github.mycompany.com
github.mycompany.com: (none)

Licensed under the MIT License. Maintained by @jdx and friends.