Share via


SqlConnection.ColumnEncryptionTrustedMasterKeyPaths Property

Definition

Allows you to set a list of trusted key paths for a database server. If while processing an application query the driver receives a key path that is not on the list, the query will fail. This property provides additional protection against security attacks that involve a compromised SQL Server providing fake key paths, which may lead to leaking key store credentials.

public:
 static property System::Collections::Generic::IDictionary<System::String ^, System::Collections::Generic::IList<System::String ^> ^> ^ ColumnEncryptionTrustedMasterKeyPaths { System::Collections::Generic::IDictionary<System::String ^, System::Collections::Generic::IList<System::String ^> ^> ^ get(); };
public static System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>> ColumnEncryptionTrustedMasterKeyPaths { get; }
static member ColumnEncryptionTrustedMasterKeyPaths : System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>>
Public Shared ReadOnly Property ColumnEncryptionTrustedMasterKeyPaths As IDictionary(Of String, IList(Of String))

Property Value

The list of trusted master key paths for the column encryption.

Applies to