Appearance
systemslab login
| Description | Authenticate with the SystemsLab server using OAuth 2.0. |
|---|---|
| Usage | systemslab login [OPTIONS] |
Description
The systemslab login command authenticates with the SystemsLab server and caches the resulting OAuth tokens for use by subsequent commands.
By default, the Authorization Code + PKCE flow is used, which opens a browser window for interactive login. For environments without a browser — such as SSH sessions or containers — use the --device flag to switch to the device authorization flow instead.
Options
| Option | Default | Description |
|---|---|---|
--device | Use the device authorization flow instead of the browser-based flow. The device flow displays a URL and a code that you enter in any browser, which is useful when running over SSH or in a container. |
Common Options
| Option | Default | Description |
|---|---|---|
--systemslab-url | The URL at which to access the systemslab server. | |
--color | auto | Controls when color is used in the output. Possible values are auto, always, and never. |
--output-format | long | Output format to use when outputting messages. long will result output designed to be human-readable while short is short output meant to be used within scripts. |
Environment Variables
| Variable | Description |
|---|---|
SYSTEMSLAB_URL | Specify the URL used to contact the SystemsLab server. Equivalent to --systemslab-url. |