Skip to content

Sharing a strong name key in a key container between multiple users on the same system

Today I imported a snk file to a key container as an Administrator and wanted to give another (non-admin) user access to that key container, so that he can sign assemblies with it.

I couldn’t find an easy solution. But I couldn’t believe that Microsoft doesn’t have a native tool for this and so I tried a solution, which is meant for ASP.NET: In a console I typed

aspnet_regiis.exe -pa <Key container name> <Username>

And it worked Smiley