Ideas

Conf data is either manual or via an encrypted conf file (see below)

Encrypt and decrypt conf file for use on branch devices. On the Root (Controller) the user generates a conf file that is encrypted by a auto generated or user based password then they copy and paste that info to the text box box on the branch along with the encrypt key. This allows it to be done on the phone or tablet. Once info is confirmed then the decrpted info is shown for confirmation purposes then applied. 

https://arjunphp.com/encrypt-decrypt-files-using-php/