Usage
Description
Display the currently authenticated user’s identity by fetching live from the Sentry API. Unlikesentry auth status, this command only shows who you are — no token details, no defaults, no org verification.
This calls the Sentry API live (not cached) so the result always reflects the current token. Works with all token types: OAuth, API tokens, and OAuth App tokens.
This is a top-level alias for convenience. You can also run
sentry whoami without the auth subcommand.Options
boolean
default:"false"
Output as JSON. The JSON format includes
id, name, username, and email fields.Examples
Show current user
JSON output
Using top-level alias
Related Commands
sentry auth status- View comprehensive authentication statussentry auth login- Authenticate with Sentrysentry auth logout- Log out and remove credentials