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. The passphrase is a plain-text entry and does not need to be encrypted.
3.145.59.187