Skip to content

Connections

The node keeps its identity and keys in /var/lib/incentru (or the directory given with --state-dir or INCENTRU_STATE_DIR). Run by a user other than root, where that directory does not exist, it uses incentru in the user’s config directory instead (~/.config/incentru on Linux). Protect that directory like any other credential store.

It also holds activity.log, client.json (the port a running Client listens on, so links from AI tools point at it) and reveal/ (what the Client shows with real values; see Reveals). activity.log.lock and lock-refusals.jsonl.lock are empty files that let one process at a time add to those records.

A node works alone: it keeps its connections, their secrets and its settings itself.

Terminal window
incentru connection add http --name crm --set base_url=https://crm.example.test --secret api_key
incentru connection test crm
incentru connection list
incentru settings masking --level layout --exception email=standin@crm
incentru settings masking --exception note=record # a ticket's note with its own people hidden
incentru up # with no setup key and no enrolment: runs on its own
  • On a terminal, incentru connection add with nothing else asks for the connector, the name and each field the connector needs (secrets without echo), then tests the connection.
  • --set field=value gives text and --json field=<json> any JSON value. A secret-shaped field (a password, a token, a key) must be given with --secret field, typed without echo or read from standard input one line per field, or --secret-file field=path, so that it stays out of shell history.
  • Secrets are encrypted in local.json under a key only this node holds, local.key (owner-only, created with the first secret). A copy of local.json alone opens nothing. A local secret opens only on this node’s own runs, never in a task from InCentru Cloud.
  • connection show never shows a secret; connection test runs the connector’s test under the same locks as up.
  • settings masking sets what the node hands to a model, never looser than masking_floor.
  • Enrolling keeps the local connections and settings. Nothing is imported to InCentru Cloud until the owner chooses which, in the Client (run incentru; it asks right after joining) or with incentru connection import (--all | <name>...) (--decline keeps them local only; --personal=false says they use a service account rather than your own credentials). up then opens each chosen secret with the local key, encrypts it to the node’s own key and sends it; InCentru Cloud hands it back to this node, which encrypts it under the org key. So the secret never leaves the node in clear. A node locked org_key: never or tagged local cannot import. connection list and status show how each stands; an imported connection’s local copy keeps working but can no longer be changed (change it in the organisation). Answers are kept in imports.json. While enrolled, InCentru Cloud’s masking settings take the place of the local ones.