Configure the Secure Store Database

Scenario/Problem: You want to use a new database for the secure store service application.

Solution: Use the Set-SPSecureStoreServiceApplication cmdlet with the DatabaseName parameter.

When the Secure Store Service Application is created, by default, the database name is Secure_Store_Service_<guid>. You can easily change this to a new database using the DatabaseName parameter with the Set-SPSecureStoreServiceApplication cmdlet, as shown in Listing 16.4.

Listing 16.4. Configuring a New Database for the Secure Store

$sss = Get-SPServiceApplication -Identity bc4399ed-a2e0-4397-bf07-cd3d207e630eSet-SPSecureStoreServiceApplication -Identity $sss -DatabaseNameSecureStoreDB

If the database does not exist, a new ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.