# Azion CLI login

The `azion login` command authenticates the CLI with your Azion account. You can sign in by passing a personal token or your credentials directly, or let the CLI open a browser-based flow when fields are omitted. Run it before any other command: once you're authenticated, the resulting credentials are stored locally so that subsequent CLI requests are authorized against your account.

:::note 
In case one or more required fields aren't informed through the specific flags, an interactive message prompts and asks for the missing information.
:::

## Usage

```bash
azion login --username  <email> --password  <password>
```

## Required flags

### username

The `--username` flag gives the email address related to the account.

### password

The `--password` flag inputs the password related to the email.


## Optional flags

### help

The `-h` or `--help` option displays more information about the `azion login` command.

## Related commands

- [azion logout](/en/documentation/products/cli/logout/): logs out and removes the personal token stored locally.
- [azion whoami](/en/documentation/devtools/cli/whoami/): confirms which authenticated account the CLI is currently using.