Using RSA Key Container

Topics: General discussion
Sep 5, 2007 at 10:03 PM
Hi all

I am new to RSA key containers.

I want to encrypt using RsaProtectedConfigurationProviders the different blocks in the app.config file for my application (windows form).
I created a new RSA key container called "TestContainer". How do I configure my application to use a newly created RSA Key Container.

Thanks
Hugo
Sep 6, 2007 at 2:12 PM
Hi,

You need to define a new RSA protected configuration provider for your container as explained here: http://msdn2.microsoft.com/en-us/library/68ze1hb2.aspx.
Unfortunately the configuration tool reads the encryption providers from its configuration file, so you will need to add the provider definition to the machine.config file.

Hope this helps,
Fernando