Where does NetworkManager store WiFi passwords on Ubuntu 15.10?

If you choose to only enable your user to use that wifi network, then the wifi password is stored in the gnome keyring of your current user.

If you let every one use that wifi connection, the password is stored in the file you mentionned.

You can also manually change where that password is stored in network manager settings for that wifi network, security tab, click the hdd+green arrow icon in password field and make your choice.

enter image description here


The password files are saved in this folder :
(in case the password is stored for all users)

/etc/NetworkManager/system-connections  

Execute this command to show all information :

sudo cat /etc/NetworkManager/system-connections/YOUR-SSID  

When the password is stored for only one user, it is saved in gnome-keyring.