Skip to content

avr auth

Authenticate and manage credentials.

Terminal window
avr auth [OPTIONS] COMMAND [ARGS]...

Authenticate via browser and store credentials.

Terminal window
avr auth login [OPTIONS]

Options

  • --provider <CHOICE> — OAuth provider to use for CLI login. (choices: google, github · default: github)

Revoke the current API key and remove stored credentials.

Terminal window
avr auth logout [OPTIONS]

Display the authenticated user and connection state.

Terminal window
avr auth status [OPTIONS]

Options

  • --show-token — Display the auth token in plain text.
  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.

Switch the default host used when AVR_HOST isn't set.

Terminal window
avr auth switch [OPTIONS] [HOST]
Terminal window
Examples:
avr auth switch # show current default + all hosts
avr auth switch https://api.avrea.com

Arguments

  • [HOST]