# Dynamic Inventory with ansible-vault in AWX

**URL:** <https://forum.ansible.com/t/dynamic-inventory-with-ansible-vault-in-awx/44428>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [September 5, 2025, 4:11pm UTC](https://forum.ansible.com/t/dynamic-inventory-with-ansible-vault-in-awx/44428 "2025-09-05T16:11:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aurora\_rivera](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/aurora_rivera/32/9381_2.png) [@aurora\_rivera](https://forum.ansible.com/u/aurora_rivera)\
**Post date:** [September 5, 2025, 4:11pm UTC](https://forum.ansible.com/t/dynamic-inventory-with-ansible-vault-in-awx/44428/1 "2025-09-05T16:11:52Z")

</div>

Hi, I have a dynamic inventory in my Ansible project, and some of the files it uses are encrypted with Ansible Vault. I want to use this inventory in AWX. The issue is not in the playbooks, but in the inventory itself — specifically, when you go to **Inventories → Sources → Add a Project**. How can I configure AWX so that it can automatically decrypt these Vault-encrypted files when loading the inventory from the project, without having to put sensitive variables directly into Extra Vars? In other words, how can I securely use a dynamic inventory with Ansible Vault in AWX so that the inventory and its variables are decrypted for the hosts during job runs?
