title: How to encrypt one entry in web.config
body: <p>ASP.NET 4</p>
  
  <p>I've used <a href="http://msdn.microsoft.com/en-us/library/ff650304.aspx#paght000006_webfarmscenarios">RSA key encryption</a> for connection strings in web.config on my web farm. However, there's one more custom password entry that I'd like to encrypt. How should I encrypt it with RSA key without having the rest configurations being encrypted. Please advise, thanks.</p>
  
  <p>Example:</p>
  
  <pre><code>  &lt;appSettings&gt;
          ...
      &lt;add key="Host" value="www.foo.com" /&gt;
      &lt;add key="Token" value="qwerqwre" /&gt;
      &lt;add key="AccountId" value="123" /&gt;
      &lt;add key="DepartmentId" value="456" /&gt;
      &lt;add key="Password" value="asdfasdf" /&gt;
      &lt;add key="SessionEmail" value="foo@foo.com" /&gt;
      &lt;add key="DefaultFolder" value="789" /&gt;
    &lt;/appSettings&gt;
  </code></pre>