Skip to content

Feature Request - Allow PostgresCluster to extract spec.authentication.rules[].options values from Secret manifest #4196

Open
@Amphaal

Description

@Amphaal

Right now, when trying to allow my LDAP users to access my postgres databases, I need to provide both LDAP bind user and password like this:

Image

... which is clearly not secure. A cleaner way of doing this would be to mimic what backups.pgbackrest.configuration[].secret allows us;

Here's what I had in mind =>

Image

It's kind of an edge case, and I think only the RADIUS method users would benefit from this also.

https://docs.postgresql.fr/12/auth-ldap.html
https://docs.postgresql.fr/12/auth-radius.html

Does it make sense ? Are there alternatives I have not considered (like using patroni) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions