pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
streaming replication authentication 2+ messages / 2 participants [nested] [flat]
* streaming replication authentication @ 2019-02-22 16:46 Zachary Hanson-Hart <zachhh@temple.edu> 0 siblings, 1 reply; 2+ messages in thread From: Zachary Hanson-Hart @ 2019-02-22 16:46 UTC (permalink / raw) To: pgsql-general@lists.postgresql.org Hi pgsql-general, I know that the requirement for replication is that a user be allowed to connect to the "replication" database. My question is how to configure the streaming replication client to use a particular authentication method. I haven't been able to find examples of streaming replication using any authentication other than trust or md5. Specifically, I'm interested in using kerberos (via gssapi) with a keytab. I'm able to authenticate from the command line with gss after doing kinit, but that's not practical for replication. Can gss authentication be used in replication? FWIW, I'm using RedHat 7's version of Postgresql 9.2. Thanks for any hints or advice, Zach ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: streaming replication authentication @ 2019-02-22 23:09 Stephen Frost <sfrost@snowman.net> parent: Zachary Hanson-Hart <zachhh@temple.edu> 0 siblings, 0 replies; 2+ messages in thread From: Stephen Frost @ 2019-02-22 23:09 UTC (permalink / raw) To: Zachary Hanson-Hart <zachhh@temple.edu>; +Cc: pgsql-general@lists.postgresql.org Greetings, * Zachary Hanson-Hart (zachhh@temple.edu) wrote: > I know that the requirement for replication is that a user be allowed to > connect to the "replication" database. My question is how to configure the > streaming replication client to use a particular authentication method. I > haven't been able to find examples of streaming replication using any > authentication other than trust or md5. > > Specifically, I'm interested in using kerberos (via gssapi) with a keytab. > I'm able to authenticate from the command line with gss after doing kinit, > but that's not practical for replication. Can gss authentication be used > in replication? Yes, GSS auth can be used in replication. Why do you think it's not practical...? > FWIW, I'm using RedHat 7's version of Postgresql 9.2. PG 9.2 is no longer supported by this community, I strongly encourage you to upgrade to a supported version. Thanks! Stephen Attachments: signature.asc (application/pgp-signature, 818B) download ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-02-22 23:09 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-02-22 16:46 streaming replication authentication Zachary Hanson-Hart <zachhh@temple.edu> 2019-02-22 23:09 ` Stephen Frost <sfrost@snowman.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox