Re: Proposal: Supporting URI SAN in Certificate Authentication

From: Gabriele Bartolini <gabriele(dot)bartolini(at)enterprisedb(dot)com>
To: David Steele <david(at)pgbackrest(dot)org>
Cc: olivier cano <kindermoumoute(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Proposal: Supporting URI SAN in Certificate Authentication
Date: 2026-08-21 08:44:18
Message-ID: CA+VUV5rM+cP6r3-U3f9fre=w2_ewuQQpmft9u+Z4j_KNfCJ8fg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks, Olivier, for proposing it, and thanks, David, for replying (I had
lost this thread before).

I would also like to express strong support for this proposal.

As SPIFFE/SPIRE adoption continues to grow, having native support for URI
SANs in PostgreSQL certificate authentication would be a huge step forward
for modern workload identity management. Both SPIFFE and SPIRE are
graduated CNCF projects, and there is already clear interest in integrating
them across the cloud-native ecosystem.

For instance, within CloudNativePG (also a CNCF project), there is a strong
interest in supporting workload identities provided by SPIFFE/SPIRE:
https://github.com/cloudnative-pg/cloudnative-pg/discussions/6421

Having native support at the PostgreSQL level would make zero-trust
identity integration much cleaner and more seamless across operators and
surrounding tools.

Ciao,
Gabriele

On Fri, 21 Aug 2026 at 11:35, David Steele <david(at)pgbackrest(dot)org> wrote:

> On 3/27/26 20:20, olivier cano wrote:
> >
> > Proposal: Allow certificate authentication to use URI SAN entries as the
> > client identity (e.g. via a clientname=uri option in pg_hba.conf), in
> > addition to the existing CN/DN options.
> >
> > Questions:
> > * Is there interest in this feature from the community?
> This was recently requested for the pgBackRest project [1] so there does
> seem to be some interest from users, at least.
>
> The user decided to fallback to using CNs since Postgres support does
> not seem like it will happen soon and we are unlikely to add it in
> pgBackRest until it is supported by Postgres.
>
> Regards,
> -David
>
> [1] https://github.com/pgbackrest/pgbackrest/issues/2765
>
>
>

--
Gabriele Bartolini
VP, Chief Architect, Kubernetes
enterprisedb.com / Melbourne, Australia

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andy Fan 2026-08-21 09:06:39 Re: ProcArrayAdd/ProcArrayRemove in Prepared Transaction
Previous Message wenhui qiu 2026-08-21 07:55:01 Re: Fix CPU cost of right-semi and right-anti hash joins