I use the Proxmox inventory plugin to get a dynamic inventory. This plugin requires a username and a password in the config yml.