Fixed akv test failures with win encryption
This commit is contained in:
parent
13144d9c5e
commit
b1288208a5
|
@ -6,6 +6,12 @@ Test connection keywords for Azure Key Vault for Always Encrypted.
|
||||||
<?php
|
<?php
|
||||||
require_once('pdo_ae_azure_key_vault_common.php');
|
require_once('pdo_ae_azure_key_vault_common.php');
|
||||||
|
|
||||||
|
// This test only applies to Azure Key Vault, or to no encryption at all
|
||||||
|
if ($keystore != 'none' and $keystore != 'akv') {
|
||||||
|
echo "Done.\n";
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
// We will test the direct product (set of all possible combinations) of the following
|
// We will test the direct product (set of all possible combinations) of the following
|
||||||
$columnEncryption = ['enabled', 'disabled', 'notvalid', ''];
|
$columnEncryption = ['enabled', 'disabled', 'notvalid', ''];
|
||||||
$keyStoreAuthentication = ['KeyVaultPassword', 'KeyVaultClientSecret', 'KeyVaultNothing', ''];
|
$keyStoreAuthentication = ['KeyVaultPassword', 'KeyVaultClientSecret', 'KeyVaultNothing', ''];
|
||||||
|
|
|
@ -6,6 +6,12 @@ Test connection keywords for Azure Key Vault for Always Encrypted.
|
||||||
<?php
|
<?php
|
||||||
require_once('sqlsrv_ae_azure_key_vault_common.php');
|
require_once('sqlsrv_ae_azure_key_vault_common.php');
|
||||||
|
|
||||||
|
// This test only applies to Azure Key Vault, or to no encryption at all
|
||||||
|
if ($keystore != 'none' and $keystore != 'akv') {
|
||||||
|
echo "Done.\n";
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
// We will test the direct product (set of all possible combinations) of the following
|
// We will test the direct product (set of all possible combinations) of the following
|
||||||
$columnEncryption = ['enabled', 'disabled', 'notvalid', ''];
|
$columnEncryption = ['enabled', 'disabled', 'notvalid', ''];
|
||||||
$keyStoreAuthentication = ['KeyVaultPassword', 'KeyVaultClientSecret', 'KeyVaultNothing', ''];
|
$keyStoreAuthentication = ['KeyVaultPassword', 'KeyVaultClientSecret', 'KeyVaultNothing', ''];
|
||||||
|
|
Loading…
Reference in a new issue