Create a Custom ISecureStoreProvider in Sharepoint 2013

I needed to create a custom ISecureStoreProvider in SPS 2013, to get my credentials from a custom database.

I followed this great article:

http://pholpar.wordpress.com/2012/03/13/implementing-a-simple-secure-store-provider/

The only change was that I used an empty SharePoint Project to create my project.

To set my Custom ISecureStoreProvider as the default Secure Store Provider I run in Power Shell:

[Reflection.Assembly]::LoadFrom(“C:\CustomSSSProvider\CustomSSSProvider\bin\Debug\CustomSSSProvider.dll”)
$type = [CustomSSSProvider.CustomSSSProvider]
Set-SPSecureStoreDefaultProvider –Type $type

Reference http://technet.microsoft.com/en-us/library/ff608061.aspx

Advertisements

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: