OSX find and display saved wifi password

https://www.mactip.net/how-to-find-a-saved-wi-fi-password-on-the-mac/

If you are like me once you entered a Wi-fi password, literally 2 seconds after it's forgotten, so what happens when your colleague asks you for the password? Well it turns out it's quite easy to accomplish on OSX (as long as you have an administrator account, below you will find the required steps

1. Open the keychain app (you can find it in the utilities folder or find it using spotlight)
2. Select the "System" icon on the sidebar
3. Double click on the Wi-fi network that you are interested in and then click on the "Show password" checkbox
4. You will now be prompted to enter an admin username/password
5. Once you entered a valid username/password you will be able to see the password for the Wi-fi network