From ddde31b14e85905ac7d53a2c93a6cfbe42bad9ed Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 18 Mar 2020 17:24:39 +0900 Subject: [PATCH] doc: update section about passwords when cloning standbys Reference new password management section and remove duplicate info. --- doc/cloning-standbys.xml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/doc/cloning-standbys.xml b/doc/cloning-standbys.xml index 163e2aa4..b5dfc490 100644 --- a/doc/cloning-standbys.xml +++ b/doc/cloning-standbys.xml @@ -458,10 +458,8 @@ description = "Main cluster" The recommended way to do this is to store the password in the postgres system - user's ~/.pgpass file. It's also possible to store the password in the - environment variable PGPASSWORD, however this is not recommended for - security reasons. For more details see the - PostgreSQL password file documentation. + user's ~/.pgpass file. For more information on using the password file, see + the documentation section . @@ -483,19 +481,6 @@ description = "Main cluster" will need to be set during any action which causes recovery.conf to be rewritten, e.g. . - - It is of course also possible to include the password value in the conninfo - string for each node, but this is obviously a security risk and should be avoided. - - - From PostgreSQL 9.6, libpq supports the passfile - parameter in connection strings, which can be used to specify a password file other than - the default ~/.pgpass. - - - To have &repmgr; write a custom password file in primary_conninfo, - specify its location in passfile in repmgr.conf. -