Skip to main content

Whoami

drwn whoami validates the current analyzer session and prints the authenticated user email.

drwn whoami
drwn whoami --json

The command resolves auth from ~/.agents/drwn/credentials.json. For automation, DRWN_TOKEN plus DRWN_ANALYZER_URL bypasses the credentials file:

DRWN_TOKEN=<token> DRWN_ANALYZER_URL=http://localhost:8787 drwn whoami

If the token is missing or expired, the command exits non-zero and asks you to run drwn login.

  • Login — authenticate with the analyzer
  • Logout — remove local credentials