Usage
Description
Display comprehensive information about your current authentication status:- Authentication source (OAuth, API token, or environment variable)
- User identity
- Token information (masked by default)
- Token expiration and auto-refresh status
- Default organization and project settings
- Credential verification via live API call
Unlike
sentry auth whoami, this command shows detailed token information, expiration status, and default settings in addition to user identity.Options
Show the stored token in full instead of masking it. Use with caution as this exposes your authentication token.
Examples
View authentication status
Show full token
Status with environment variable authentication
Environment variable tokens (
SENTRY_AUTH_TOKEN, SENTRY_TOKEN) do not have expiration or auto-refresh capabilities. The status output will omit these fields when authenticated via environment variables.Related Commands
sentry auth login- Authenticate with Sentrysentry auth logout- Log out and remove credentialssentry auth whoami- Show only user identity (simpler output)