arianet auth
This reference is generated from the CLI's own help on every release, so it always matches the latest arianet. The command help is the same text arianet <command> --help prints. For installation, configuration and a guided start, see the CLI page.
The global flags work with every command on this page.
arianet auth
Manage authentication and API tokens
Usage
arianet auth <command>
Subcommands
logout: Revoke the current API tokentokens: Manage API tokenswhoami: Show the current authenticated user
arianet auth logout
Revoke the current API token
Revokes the current API token on the server and removes it from your local config.
Usage
arianet auth logout [flags]
Examples
arianet auth logout
arianet auth logout --yes
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-y, --yes | bool | skip confirmation prompt |
arianet auth tokens
Manage API tokens
Usage
arianet auth tokens <command>
Subcommands
arianet auth tokens list
List all API tokens
Usage
arianet auth tokens list [flags]
Examples
arianet auth tokens list
arianet auth tokens list --output json
arianet auth tokens revoke
Revoke an API token by ID
Usage
arianet auth tokens revoke <id> [flags]
Examples
arianet auth tokens revoke 5
arianet auth tokens revoke 5 --yes
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-y, --yes | bool | skip confirmation prompt |
arianet auth whoami
Show the current authenticated user
Usage
arianet auth whoami [flags]
Examples
arianet auth whoami
arianet auth whoami --output json