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.
Usage
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: logs out and removes the personal token stored locally.
- azion whoami: confirms which authenticated account the CLI is currently using.