# gh auth status

Confirm who you're signed in as.

## Quick answer
```
gh auth status
```

## Syntax
```
gh auth status [flags]
```

## Examples

# Show authentication status for all hosts
gh auth status

# Check a specific GitHub Enterprise host
gh auth status --hostname github.example.com

# Reveal the token value
gh auth status --show-token

# Only show the active account
gh auth status --active

## Key flags

  -h, --hostname	Check a specific host (e.g. a GitHub Enterprise server).
  -t, --show-token	Display the authentication token.
  -a, --active	Show only the active account for each host.

Full guide: https://ghcli.com/gh-auth-status.php
