public ColumnEncryptionAzureKeyVaultProvider(AuthenticationCallback authenticationCallback, string[] trustedEndPoints) { ValidateNotNull(authenticationCallback, nameof(authenticationCallback)); ValidateNotNull(trustedEndPoints, nameof(trustedEndPoints)); ValidateNotEmpty(trustedEndPoints, nameof(trustedEndPoints)); ValidateNotNullOrWhitespaceForEach(trustedEndPoints, nameof(trustedEndPoints)); KeyCryptographer = new KeyCryptographer(authenticationCallback); TrustedEndPoints = trustedEndPoints; }
public ColumnEncryptionAzureKeyVaultProvider(TokenCredential tokenCredential, string[] trustedEndPoints) { ValidateNotNull(tokenCredential, nameof(tokenCredential)); ValidateNotNull(trustedEndPoints, nameof(trustedEndPoints)); ValidateNotEmpty(trustedEndPoints, nameof(trustedEndPoints)); ValidateNotNullOrWhitespaceForEach(trustedEndPoints, nameof(trustedEndPoints)); KeyCryptographer = new KeyCryptographer(tokenCredential); TrustedEndPoints = trustedEndPoints; }