Generate secrets file if users/passwords are provided when creating the module