I'm trying out home automation using a Raspberry Pi Pico with Wifi. To connect to wifi I have to send SSID and password. Since the controller has no external interface other than the Wifi, how would most efficiently I protect the password? Including physical access.
I have thought of deleting traces of the password after use, but then I need to to re-flash should it disconnect.