# Create a dynamic inventory from an identity management server or a database server

**URL:** <https://forum.ansible.com/t/create-a-dynamic-inventory-from-an-identity-management-server-or-a-database-server/1090>\
**Category:** Get Help\
**Tags:** idm, collections, inventory\
**Created:** [September 25, 2023, 2:08pm UTC](https://forum.ansible.com/t/create-a-dynamic-inventory-from-an-identity-management-server-or-a-database-server/1090 "2023-09-25T14:08:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkoci](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dkoci/32/815_2.png) [@dkoci](https://forum.ansible.com/u/dkoci)\
**Post date:** [September 25, 2023, 2:08pm UTC](https://forum.ansible.com/t/create-a-dynamic-inventory-from-an-identity-management-server-or-a-database-server/1090/1 "2023-09-25T14:08:57Z")

</div>

Hi.  
Can someone please advise me on which collection contains the appropriate inventory plugin that allows creating dynamic inventory from an identity management server or a database server?

Thank you

---

<div class="post-metadata">

**Author:** ![sean\_sullivan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sean_sullivan/32/274_2.png) [@sean\_sullivan](https://forum.ansible.com/u/sean_sullivan)\
**Post date:** [September 25, 2023, 2:42pm UTC](https://forum.ansible.com/t/create-a-dynamic-inventory-from-an-identity-management-server-or-a-database-server/1090/2 "2023-09-25T14:42:59Z")

</div>

None of them, Unless your IDM server provider already has one, you are likely looking at a custom one purpose built for your IDM server or database

Here are the docs.  
[https://docs.ansible.com/ansible/latest/dev\_guide/developing\_inventory.html](https://docs.ansible.com/ansible/latest/dev_guide/developing_inventory.html)

Also an example from my book, The book goes into more detail, but the example pulls from a public database and shows how to set up the folder structure and load things.

> <https://github.com/PacktPublishing/Demystifying-Ansible-Automation-Platform/tree/main/ch07/inventory_plugin_creation>
>
> //github.com/PacktPublishing/Demystifying-Ansible-Automation-Platform/tree/main/ch07/inventory\_plugin\_creation

---

<div class="post-metadata">

**Author:** ![gwmngilfen](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gwmngilfen/32/6_2.png) [@gwmngilfen](https://forum.ansible.com/u/gwmngilfen)\
**Post date:** [October 6, 2023, 8:50am UTC](https://forum.ansible.com/t/create-a-dynamic-inventory-from-an-identity-management-server-or-a-database-server/1090/3 "2023-10-06T08:50:45Z")

</div>

Hi @dkoci! It looks like the post might be solved - could you check to see if the response by @sean_sullivan worked for you?

If so, it would be _super_ helpful if you could click the ✔ on their post to accept the solution - it recognises the input of others, helps our volunteers find new issues to answer, and keeps the forum nice and tidy.

Thanks!  
(this is template reply, do feel free to reply if I’ve misunderstood the situation!)
