I use my institutional credentials to connect to my work wifi network (using 802.1x EAP), and I don't want my password stored on my phone (i.e. I want to retype my password every time I connect). What's the best way to do this? A Google Pixel running stock 7.1, if that matters.
If you are rooted you could just run the command
chmod 0440 /data/misc/wifi/wpa_supplicant.conf. Before you do it you should first delete the WiFi network. Also make sure that you have all other WiFi networks saved because after you ran this command you won't save any other network again until you chmodded the file to r+w again.