Refresh the Encryption Key

Scenario/Problem: You need to create or propagate the master key to all application servers.

Solution: Use the Update-SPSecureStoreApplicationServerKey cmdlet.

After a master key (encryption key) is created or updated, all application servers need to be aware of the key. You can propagate the encryption key to all application servers by using the Update-SPSecureStoreApplicationServerKey cmdlet, as shown in Listing 16.6.

Listing 16.6. Propagating the Encryption Key to All Application Servers

Update-SPSecureStoreApplicationServerKey -ServiceApplicationProxyda9247cb-9055-4024-817c-714ef98656e1 -PassPhrase SharePoint1

This cmdlet requires the service application proxy GUID for the Secure Store Service. To find the ...

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.