Generate a New Master Key
Scenario/Problem: You need to create or change the master key for the Secure Store Service.
Solution: Use the Update-SPSecureStoreMasterKey
cmdlet.
The Secure Store Service needs a master key before target applications can be created. To create or change the master key, use the Update-SPSecureStoreMasterKey
, as shown in Listing 16.5.
Update-SPSecureStoreMasterKey -ServiceApplicationProxy da9247cb-9055-4024-817c-714ef98656e1 -PassPhrase SharePoint1
This cmdlet requires the service application proxy GUID for the Secure Store Service. To find the GUID, use the Get-SPServiceApplicationProxy
cmdlet and locate the Secure Store Service entry. The display name cannot be used here. ...
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.