— 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 backend
The service validates the KMS provider at boot. It selects the backend that protects court-ordered seizure data with envelope encryption. In production, an unset or unsupported value fails the boot closed. Outside production, it defaults tovault.
KMS_PROVIDER=vault requires the Vault variables below. KMS_PROVIDER=aws requires the shared AWS_REGION. Per-institution connector credentials are sealed inside institution-configuration metadata under a credentials-class KEK; no environment selector chooses their storage. KMS_PROVIDER defaults to vault when unset outside production. In production, you must set it explicitly or the boot fails closed.Vault (when KMS_PROVIDER=vault)
|
VAULT_TOKEN_RENEW_ENABLED | true | Run a background renewer that refreshes the Vault token before its lease lapses. |
| VAULT_TOKEN_RENEW_MIN_INTERVAL_SEC | 60 | Floor, in seconds, between renewal attempts. |
| VAULT_TIMEOUT_SEC | 15 | Per-request timeout, in seconds, for each Vault round-trip. |
AWS (when KMS_PROVIDER=aws)
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.

