The azion whoami command prints the email address of the user currently authenticated on the Azion CLI. It’s a quick way to confirm which account your commands will run against, which is especially handy when you work with more than one Azion account on the same machine. The command reads the locally stored credentials and outputs the associated email.


Usage

Terminal window
$ azion whoami

Local options

help

The -h or --help flag displays more information about the azion whoami command. It’s an optional flag.

  • azion login: authenticates the CLI with your Azion account.
  • azion logout: signs out and removes the locally stored personal token.