SecureStoreServiceApplication.ChangeMasterSecretKey Method
Changes the master key in the SecureStoreServiceDatabase for the current application.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
Public Sub ChangeMasterSecretKey ( _
token As String, _
passPhraseHash As Byte() _
)
'Usage
Dim instance As SecureStoreServiceApplication
Dim token As String
Dim passPhraseHash As Byte()
instance.ChangeMasterSecretKey(token, _
passPhraseHash)
public void ChangeMasterSecretKey(
string token,
byte[] passPhraseHash
)
Parameters
token
Type: System.StringThe token string. This token must be obtained by calling GetChangeMasterSecretKeyToken().
passPhraseHash
Type: []The hash of the passphrase.
Implements
ISecureStoreServiceApplication.ChangeMasterSecretKey(String, [])
Remarks
This method must be called with a valid token. The token is valid for one minute and must be obtained from the Secure Store database before it can be used.
See Also
Reference
SecureStoreServiceApplication Class