Hello @Cédric Melançon ,
so the custom iot edge module is aggregating data from the PLC/four machines and this aggregated data has to arrive in the cloud as being sent by the actual devices (with their own device registration).
It seems you want to set up an edge gateway that does Identity translation.
I have not seen any out-of-the-box configuration solution for this.
You will have to program this yourself. A starting point could this example.