Skip to main content
Lerian STA is the Lerian-owned rail that transmits and receives files with BACEN’s STA hub. These variables are set at deploy time and require a service restart to take effect. The universal backbone that every Lerian Go service shares — server, datastores, multi-tenancy, telemetry, plugin authentication, and licensing — is documented once in BYOC configuration essentials; this page covers only the variables distinctive to Lerian STA. In the tables below, the Default / Required column shows the default value; a bold qualifier (e.g. Required, Required in production) marks variables that must be set. means no default. Any variable flagged Sensitive carries credential or key material — inject it from your secret manager at deploy time and never commit a value.

Service and runtime

Lerian STA exposes /health (liveness) and /readyz (readiness) on the main port, plus /version and /metrics, and — when multi-tenancy is enabled — GET /readyz/tenant/{id}. See Health and readiness for the probe contract.

Object storage

Lerian STA persists transfer bytes and inbound downloads to an S3-compatible object store. Each subsystem configures its own connection through the AWS SDK, so the same wiring drives AWS S3, MinIO, or a local store.

Envelope encryption

Operator credentials are protected with AES-GCM envelope encryption. The master-key material is always required — the manager process aborts boot if it is missing or malformed.

Trust store

Each tenant uploads the X.509 root certificates Lerian STA trusts when establishing mutual TLS to BACEN. The trust-store module is always on. Certificate PEM bodies are persisted to the object store, so the trust-store bucket connection is required.
Lerian STA runs its audit pipeline in a dedicated worker: an outbox publisher, a hash-chained audit consumer, a partition manager, an outbox cleanup, and an asynchronous audit-export generator. These run when multi-tenancy and the broker are enabled and are tuned through the AUDIT_PUBLISHER_*, AUDIT_CONSUMER_*, AUDIT_PARTITION_*, AUDIT_CLEANUP_*, AUDIT_EXPORT_GENERATOR_*, and AUDIT_EXPORT_RATE_LIMIT_* families, each shipping working defaults.