SecureStoreServiceApplication.ChangeMasterSecretKey(String, Byte[]) SecureStoreServiceApplication.ChangeMasterSecretKey(String, Byte[]) SecureStoreServiceApplication.ChangeMasterSecretKey(String, Byte[]) Method

Definition

Changes the master key in the SecureStoreServiceDatabase for the current application.

public:
 virtual void ChangeMasterSecretKey(System::String ^ token, cli::array <System::Byte> ^ passPhraseHash);
public void ChangeMasterSecretKey (string token, byte[] passPhraseHash);
Public Sub ChangeMasterSecretKey (token As String, passPhraseHash As Byte())
Parameters
token
String String String

The token string. This token must be obtained by calling GetChangeMasterSecretKeyToken().

passPhraseHash
Byte[]

The hash of the passphrase.

Implements

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.

Applies to