Moving ethernet to wifi

The problem I have using that approach is that it requires something to be preconfigured; I need to configure it (ie: ssid/passphrase) by reading an SD card...