Monday, 29 October 2012

Access to the Windows Azure Storage Emulator

Should you wish to do any work against the Windows Azure Storage Emulator, say testing the REST API, you might be wondering what the account name and account key might be.

Those details for the Storage Emulator are the same for every single installation of the developer tools, they do not vary between machines.

They are published here: http://msdn.microsoft.com/en-us/library/windowsazure/gg432983.aspx

Account name:

devstoreaccount1

Account key:

Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==

Giving you a connection string of:

DefaultEndpointsProtocol=https;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==

Though the following is also a valid connection string for the Storage Emulator:

usedevelopmentstorage=true

The individual account name and key would be of use when you don't have a connection string, like the aforementioned REST API.

About Me