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 System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>> ColumnEncryptionTrustedMasterKeyPaths { get; }
member this.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

IDictionary<String,IList<String>>

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

Applies to