config¶
Manage named connection profiles.
config set¶
Create or update a profile.
loki-cli config set --url URL
[--profile NAME] [-u USER] [--password PASS]
[--token TOKEN] [--org-id TENANT]
[--tls-skip-verify] [--no-verify]
[--activate/--no-activate]
| Option | Description |
|---|---|
--profile NAME |
Profile to create/update (default: default). |
--url URL (required) |
Loki base URL. |
-u, --username USER |
Enable HTTP basic auth; password prompted. |
--password PASS |
Non-interactive password (prefer the prompt). |
--token TOKEN |
Bearer token. Mutually exclusive with --username. |
--org-id TENANT |
Sent as X-Scope-OrgID. |
--tls-skip-verify |
Disable TLS certificate validation. |
--no-verify |
Skip the live-connection sanity check. |
--activate / --no-activate |
Whether to switch active to this profile after saving. Default: activate. |
config unset¶
config list¶
config show¶
Secrets (password, token) are always redacted as ***.