Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keeper: support different auth methods #362

Open
sgotti opened this issue Oct 9, 2017 · 1 comment
Open

keeper: support different auth methods #362

sgotti opened this issue Oct 9, 2017 · 1 comment

Comments

@sgotti
Copy link
Member

sgotti commented Oct 9, 2017

Now stolon by default requires md5 password authentication for superuser and replication connections.

We could improve it to accept different authentication methods starting from the simpler ones like trust, md5, password, pam.

A solution will be to add some keeper options --pg-su-auth-method and --pg-repl-auth-method. These options will basically affect the pg_hba.conf generated replication entries and the user creation when initializing a new pg db cluster.

@emdem
Copy link
Contributor

emdem commented Nov 14, 2017

@sgotti Which auth methods would you like to support initially? I was thinking trust, password, md5...

If that seems reasonable, I will test my implementation and make a PR. If not, please let me know which other auth methods you think would be reasonable for a first implementation.

emdem pushed a commit to emdem/stolon that referenced this issue Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants