CLI · Account
buyproxy whoami
Show the account behind the current key and where the key came from.
Usage
shell
$ buyproxy whoamiUseful when something behaves unexpectedly — it confirms which account and key type you're using, with the key masked.
How it works
The Read from line tells you which source won: --key flag, BUYPROXY_API_KEY, or the saved config file (the precedence is in that order).
Examples
Who am I?
shell
$ buyproxy whoamiexample output
Account
Email you@example.com
Key type personal
Details pro plan
Key bp_key_abcde••••••••f3a9
Read from /home/you/.config/buyproxy/config.jsonJSON output
--json prints { "email", "kind", "detail", "key" } with the key masked.
Troubleshooting
| You see | How to fix it |
|---|---|
| You're not logged in. | Run buyproxy login. |
Related commands
Was this page helpful?