The WiFi Configuration Profile (Android Enterprise) allows you to send the device settings of specific WiFi networks. The device will be able to connect to these networks with no need to log in with credentials. If the credential involves a digital certificate, it must be installed in the device from the Certificate Store, by a Certificate Installation profile.
To configure, see below:
Video WiFi Configuration