To get the WiFi password on your iPhone, you need to go to the phone settings. On your wireless settings page, tap "Wireless Security." On this menu, you'll find an entry called Security Key. This field displays the secured networks in proximity to yours and but you can only get to see passwords that are already entered here; tapping it should reveal any desired info!