gh auth token

Print the auth token gh is configured to use

gh auth token [flags]

Options

-h, --hostname <string>
The hostname of the GitHub instance authenticated with

See also