<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT.
Source of truth: the cobra command definitions in cmd/axiom/cmd/.
Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->
axiom login
Authenticate with the Axiom platform
Authenticate with the Axiom platform using the OAuth Device Flow.
Opens a browser to complete authentication via GitHub or Google. The resulting API key is stored in ~/.axiom/credentials.
In CI environments, set AXIOM_API_KEY to skip the browser flow entirely. Use "axiom whoami" to confirm your current identity.
Usage
axiom login [flags]Flags
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | help for login |