Thats a good guess and easy to try. You can examine the plugin source to see what values are actually used.Oddly though, the error says Undefined 'freenas_user" and/or "freenas_password"
but, in the storage.cfg, the variables are labeled as 'freenas_user' and 'truenas_secret'
should that 'truenas_secret' be labeled as 'freenas_password'?
Did you install the plugin from official source or one of the clones? If its the former, you should file a bug with developer.
Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox