— means no default. Any variable flagged Sensitive carries credential or key material. Inject it from your secret manager at deploy time. Never commit a value.
Service and runtime
Lerian SISBAJUD exposes
/health (liveness), /readyz (readiness), /version, and /metrics on the main port. When you enable multi-tenancy, it also exposes GET /readyz/tenant/{id}. See Health and readiness for the probe contract.Security backends
The service validates both selectors at boot. They choose the backends that protect court-ordered seizure data. In production, an unset or unsupported value fails the boot closed. Outside production, the selectors default tovault and local.
KMS_PROVIDER and SECRET_STORE_PROVIDER each pull in a companion block, and the service validates every block at boot. CONNECTOR_CREDS_SOURCE has no block of its own — kek-db rides on whichever KMS backend KMS_PROVIDER selects. The vault value, for either selector, requires the Vault variables below. KMS_PROVIDER=aws requires the shared AWS_REGION. SECRET_STORE_PROVIDER=local reads secrets from the environment and needs no external backend. The aws-secrets-manager backend is not wired yet; selecting it fails the boot closed. Per-institution connector credentials no longer flow through the secret store: CONNECTOR_CREDS_SOURCE=kek-db resolves and registers them in the KEK-envelope store in Postgres, under the KMS backend. KMS_PROVIDER defaults to vault when unset outside production. In production, you must set it explicitly or the boot fails closed. SECRET_STORE_PROVIDER defaults to local the same way. In production, you must set it explicitly too.Vault (when KMS_PROVIDER=vault or SECRET_STORE_PROVIDER=vault)
AWS (when KMS_PROVIDER=aws or SECRET_STORE_PROVIDER=aws-secrets-manager)
Crypto lifecycle
Envelope encryption uses a per-record data key sealed under the institution’s master key, plus a blind index for exact-match lookup on fiscal identifiers.Domain workers
Judicial-order processing runs as a set of per-institution background crons. All are off by default except the processing-lock reaper, which runs by default. The workers use the*_SCAN_INTERVAL (seconds) and *_BATCH_SIZE cadence knobs where applicable.
Object storage
Lerian SISBAJUD writes court-ordered seizure artifacts to an S3-compatible object store, already encrypted. The blob layer never sees plaintext.Midaz ledger connector
Lerian SISBAJUD reads balances and blocks through the Midaz ledger.MIDAZ_BASE_URL is an optional service-wide fallback; per-institution connector metadata takes precedence.

