decrypt a configuration section by using the -pdf option. : Encrypt « Configuration « ASP.NET Tutorial






The following command decrypts a configuration file located in a folder named MyWebApp:

aspnet_regiis -pdf connectionStrings c:\Websites\MyWebApp








16.17.Encrypt
16.17.1.Encrypt Config
16.17.2.Encrypting Sections Programmatically
16.17.3.Encrypting Sections with the aspnet_regiis tool
16.17.4.decrypt a configuration section by using the -pdf option.
16.17.5.Decrypt a configuration section by specifying a virtual directory.
16.17.6.Encrypt connectionStrings section with the DataProtectionConfigurationProvider