One Role, Two Passwords

From: Daniel Farina <drfarina(at)acm(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: One Role, Two Passwords
Date: 2011-01-20 22:28:15
Message-ID: AANLkTikdP7qgnUOjsACnDNDQxmccg5rZz_FC5d=U_dGJ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello list,

I wanted to test the waters on how receptive people might be to an
extension that would allow Postgres to support two passwords for a
given role. I have recently encountered a case where this would be
highly useful when performing rolling password upgrades across many
client applications and/or application instances.

It is possible (as far as I know) to get around some of the sticker
parts of this with some teeth gnashing, using some CREATE ROLE ... IN
ROLE dancing, but I wanted to see if there was any interest in
supporting this "for real."

This design is not uncommon, one example is Amazon Web Services (e.g.
EC2, S3), whereby one identification key can have many, independently
revokable secret keys.

I haven't given much thought to the mechanism yet, rather, I am just
trying to assess gut reactions on the principle.

--
fdr

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-01-20 22:45:58 Re: One Role, Two Passwords
Previous Message Tom Lane 2011-01-20 22:26:13 Re: Orphaned statements issue