lab7: TLS ко всем зависимостям и телеметрии; раздельные роли PostgreSQL (GRANT по коду), ACL Valkey, AMQPS, HTTPS S3, mTLS Collector/Prometheus/Loki/Tempo/Grafana
This commit is contained in:
@@ -157,6 +157,9 @@ class Settings:
|
||||
# Lab 7: TLS of the API listener (mTLS, src/messenger/tls.py) and the loopback health port.
|
||||
tls_cert_file: str = ""
|
||||
tls_key_file: str = ""
|
||||
# CA that every OUTGOING TLS connection verifies the server with (internal CA): S3, Valkey,
|
||||
# RabbitMQ (PostgreSQL: sslrootcert in DATABASE_URL, OTLP: OTEL_EXPORTER_OTLP_CERTIFICATE).
|
||||
tls_ca_file: str = ""
|
||||
tls_client_ca_file: str = ""
|
||||
health_port: int = 0
|
||||
|
||||
@@ -307,6 +310,7 @@ def s3_settings(*, credentials_required: bool = True) -> dict:
|
||||
janitor_interval_seconds=_float("JANITOR_INTERVAL_SECONDS", 60.0, 0.0, 3600.0),
|
||||
fault_points=faults,
|
||||
fault_values=fault_values,
|
||||
tls_ca_file=_path("TLS_CA_FILE"),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user