Files
mtusi2026lab7/infra/postgres/pg_hba.conf
T

14 lines
592 B
Plaintext

# Unix-domain socket is available only inside the database container and is
# used by its entrypoint for one-time role initialization.
local all all trust
# Applications authenticate with distinct client certificates and mapped CNs.
hostssl messenger messenger_api all cert map=lab7_services
hostssl messenger messenger_dispatcher all cert map=lab7_services
hostssl messenger messenger_worker all cert map=lab7_services
# Only the migration/bootstrap job uses the local operator password.
hostssl messenger postgres all scram-sha-256
hostnossl all all all reject
hostssl all all all reject