Re: WIP: SCRAM authentication

Поиск
Список
Период
Сортировка
От Sehrope Sarkuni
Тема Re: WIP: SCRAM authentication
Дата
Msg-id CAH7T-arqWysXN1F90NqjsmbmKHjYvBSGwkjvJTjWJ6aWFhfOJA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WIP: SCRAM authentication  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: WIP: SCRAM authentication  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
It'd be nice if the new auth mechanism supports multiple passwords in the same format as well (not just one per format).

That way you could have two different passwords for a user that are active at the same time. This would simplify rolling database credentials as it wouldn't have to be done all at once. You could add the new credentials, update your app servers one by one, then disable the old ones.

A lot of systems that use API keys let you see the last time a particular set of keys was used. This helps answer the "Is this going to break something if I disable it?" question. Having a last used at timestamp for each auth mechanism (per user) would be useful.

I'm not sure how updates should work when connecting to a read-only slave though. It would need some way of letting the master know that user X connected using credentials Y.

Regards,
-- Sehrope Sarkuni
Founder & CEO | JackDB, Inc. | https://www.jackdb.com/

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: WIP: SCRAM authentication
Следующее
От: David Rowley
Дата:
Сообщение: Re: WIP: Make timestamptz_out less slow.