bnerd whoami¶
Show the account associated with the currently configured authentication token.
This is the standard "is my auth working?" check — handy after bnerd login, after switching tokens, or when a command unexpectedly fails with an auth error.
Output¶
By default, prints a detail view of your account:
Account: Jane Doe
ID: acct_01HX…
Email: jane@example.com
Status: active
Language: en
Created: 2025-09-12 10:14:22
Updated: 2026-04-12 08:55:01
Output formats¶
Like every read command, whoami honours the global -o / --output flag:
Authentication¶
whoami uses only the token from ~/.bnerd.yaml / BNERD_TOKEN / --token. It does not require an org-id or project-id, which makes it useful for verifying the token in isolation.
If whoami fails:
authentication token required— no token configured. Runbnerd loginor setBNERD_TOKEN.401 Unauthorized— token is wrong, expired, or revoked. Re-runbnerd login.connection refused/ network errors — checkapi-urlin~/.bnerd.yaml.
See also¶
bnerd login— interactive auth setupbnerd config show— inspect the configuration that whoami is using- Authentication — full auth precedence and methods