Can I encrypt the ConfigStoreConnectionString when using In-role Window Azure Cache (dedicated role)?

StackOverflow https://stackoverflow.com/questions/22235804

質問

Is there a way to encrypt the ConfigStoreConnectionString when using In-role Window Azure Cache (dedicated role)?

Right now the ConfigStoreConnectionString is stored in the ServiceConfiguration file and it's in the clear. I've been asked to encrypt the connection string using aspnet_regiis for security reasons but when I use an encrypted string the caching doesn't know how to decrypt it. Here's the section of the service config file:

  <Role name="ConnectCacheWorker">
    <Instances count="2" />
    <ConfigurationSettings>
      <Setting name="Microsoft.WindowsAzure.Plugins.Caching.NamedCaches" value="xxxxxx" />
      <Setting name="Microsoft.WindowsAzure.Plugins.Caching.DiagnosticLevel" value="1" />
      <Setting name="Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString" value="xxxxxx" />

What's the best practice for encrypting Connection strings in the service config file?

役に立ちましたか?

解決

I dont think this is possible. The cache plugin has to natively support this.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top