> ## Documentation Index > Fetch the complete documentation index at: https://bunny.net/docs/llms.txt > Use this file to discover all available pages before exploring further. # Authentication > Log in, log out, and verify the active account with `bunny login`, `bunny logout`, and `bunny whoami`. ## `bunny login` Authenticate with bunny.net via the browser. A successful login stores credentials under the selected profile (defaults to `default`). ```bash theme={null} # Browser-based login bunny login # Log in to a specific profile bunny login --profile staging # Overwrite an existing profile without prompting bunny login --force ``` | Flag | Description | | - | - | | `--profile` | Profile name to log in to (default: `default`) | | `--force` | Overwrite an existing profile without prompting | > [!TIP] > > Prefer API keys over browser auth in CI. Run `bunny config init --api-key bny_xxx` to > seed a profile, or export `BUNNYNET_API_KEY`. ## `bunny logout` Remove a stored authentication profile. ```bash theme={null} bunny logout bunny logout --force bunny logout --profile staging ``` | Flag | Description | | - | - | | `--profile` | Profile to remove (default: `default`) | | `--force` | Skip confirmation prompts | ## `bunny whoami` Show the currently authenticated account: name, email, active profile, and account ID. ```bash theme={null} bunny whoami # Logged in as Jamie Barton (jamie@bunny.net) 🐇 # Profile: default # Account ID: 3d5a9c1e-7f42-4b8a-9c36-2e8d1f6a4b70 bunny whoami --output json bunny whoami --profile staging ``` | Flag | Description | | - | - | | `--profile` | Profile to inspect (default: `default`) | | `--output` | `text` or `json` | This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.