I'm creating a project where I want to send data from several devices, using MQTT, into a cloud server, where each of the devices have their own device ID and certificate and private key files. I'm trying to make the project as generic as possible, so that in future cases I can use the same project with the least amount of manual configuration possible. There might be cases where the number of said devices is over 100.
I can easily make the device IDs dynamic and read them from a .csv file, but I can't find a way to do the same for the certificate files. Is there a way I can make the file names dynamic in the MQTT node's TLS configuration? Or another possibility; can I change the default folder where the files are searched, if I leave the path empty and use the same file name for every device?