Is there a utility that will encrypt a named configuration section (or just the connectionStrings section) in an app.config file in a similar manner that one can use aspnet_regiis with web.config files?
I know this can be done in code – there are code examples out there, but I am hoping to avoid writing an application for this.
You can try the following:
https://magenic.com/thinking/encrypting-configuration-sections-in-net
In short – rename the
app.configfile toweb.config– the schema is identical, soaspnet_regiisworks. Rename back toapp.configwhen finished.