From 7ec18a1553ddab0252d8b16262c5341014b7425c Mon Sep 17 00:00:00 2001 From: Matheus Alcantara Date: Mon, 9 Dec 2024 14:48:07 -0300 Subject: [PATCH v2 2/2] postgres_fdw: Add documentation for SCRAM auth --- doc/src/sgml/postgres-fdw.sgml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml index 188e8f0b4d..da04e14a04 100644 --- a/doc/src/sgml/postgres-fdw.sgml +++ b/doc/src/sgml/postgres-fdw.sgml @@ -770,6 +770,25 @@ OPTIONS (ADD password_required 'false'); + + use_scram_passthrough (boolean) + + + This option controls whether postgres_fdw will use + the SCRAM password authentication to connect into the foreign server. + SCRAM secrets can only be used for logging into the foreign server if + the client authentication also uses SCRAM. + + + SCRAM authentication into the foreign server can only be possible if + both servers have identical SCRAM secrets (encrypted password) for the + user being used on postgres_fdw to authenticate on + the foreign server, same salt and iterations, not merely the same + password. + + + + -- 2.39.3 (Apple Git-146)