Skip to content

Instantly share code, notes, and snippets.

@gbellmann
Created April 7, 2015 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbellmann/dc09f7088ea70ef9bbb3 to your computer and use it in GitHub Desktop.
Save gbellmann/dc09f7088ea70ef9bbb3 to your computer and use it in GitHub Desktop.
using Microsoft.WindowsAzure.ServiceRuntime;
using Microsoft.WindowsAzure.Storage;
public static CloudStorageAccount GetAccount()
{
const string configName = "AccountKeyEnConfig";
string value = RoleEnvironment.GetConfigurationSettingValue(configName);
return CloudStorageAccount.Parse(value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment