Seed pgAdmin roles with Active Directory groups when using Docker

From: mu88 <mu88+dev(at)posteo(dot)eu>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Seed pgAdmin roles with Active Directory groups when using Docker
Date: 2023-09-25 09:42:30
Message-ID: 28c7d917-d9fe-4d8b-aee1-5764190d9e5e@posteo.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-admin

Hi,

I want to setup a pgAdmin instance for our team using the Docker deployment. As our organization uses Active Directory, I'd like to assign the pgAdmin User role to a specific AD group when starting the pgAdmin Docker container.

Within the docs I already found the option to use pgAdmin with LDAP, so hopefully accessing our AD should work.

What I didn't find: is it possible to assign a pgAdmin role to an AD group or only to AD users? And if yes, can this automatically happen on Docker container start (e. g. by using an environment variable or a config file similar to servers.json)?

Or put in other words: is it possible that it looks like this after container start only by configuration without any manual interaction?

Best regards!

PS: you find this question here as well: https://dba.stackexchange.com/questions/331385/seed-pgadmin-roles-with-active-directory-groups-when-using-docker

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Yogesh Mahajan 2023-09-25 10:10:28 Re: Seed pgAdmin roles with Active Directory groups when using Docker
Previous Message Akshay Joshi 2023-09-21 10:03:56 pgAdmin 4 v7.7 Released

Browse pgsql-admin by date

  From Date Subject
Next Message Yogesh Mahajan 2023-09-25 10:10:28 Re: Seed pgAdmin roles with Active Directory groups when using Docker
Previous Message Tom Lane 2023-09-25 03:34:54 Re: Handling idle connections