Everybody has been in this situation (Well, at least I have). You are sitting in a coffeeshop and you need to connect your phone to the WiFi. You have connected your laptop to the WiFi before but you can not remember the password. You could get up and ask the barista for the password but that is a little bit of a hassle. Well, since you have already connected to the access point on your laptop, you can look the password up on it. I shall show you how.
Step #1: Open Keychain Access
Step #2: Use the search box in the upper right corner to search by the SSID
Step #3: Select and open the record
Step #4: Check “Show password”
It is that easy.