Recently I reformatted my PC, which previously had Visual Studio installed on it.
In Visual Studio, under Server Explorer -> Windows Azure Storage, before reformatting, I had a storage account configured for one of my hosted services in Azure. When I configured it, the "Remember My Account Key" was checked.
After reformatting, this account was gone, as expected. However, when I went to reconfigure the account, I noticed that it automatically populated the "Account Key" field with the valid key.
How does Visual Studio remember this option?
Server Explorer
while you have yourCloud Service
solution opened. And if you have configured that account in the Cloud Service project, it would be the source for the account key. I don't see any other way. – astaykov