canonic connection manages the entries under connections: in canonic.yaml; the same file canonic setup writes to during onboarding.
connection list
List configured connections.
id, type, whether it’s the project default, and its params. With --json, returns {"connections": [...]} including full param dicts.
connection test
Test connectivity for one or all connections.
| Flag | Description |
|---|---|
--connection, -c | Connection id to test (default: all). |
connection add
Add a new source connection to canonic.yaml.
| Flag | Description |
|---|---|
--id | Unique connection identifier. |
--type | Connector type (sqlite, postgres, …). |
--param, -p | Connector param as KEY=VALUE (repeatable). |
--credentials-ref | Credential reference (env:VAR, keyring:service, file:path). |
--set-default | Make this the project default connection. |
connection remove
Remove a configured connection from canonic.yaml.