Skip to content

Commit 5335d0b

Browse files
committed
1 parent 65308e2 commit 5335d0b

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

source/includes/qe-tutorials/php/.env.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# MongoDB connection uri and automatic encryption shared library path
22

33
MONGODB_URI="<Your MongoDB URI>"
4-
SHARED_LIB_PATH="<Full path to your Automatic Encryption Shared Library>"
4+
KMS_PROVIDER="local" # or "aws", "azure", "gcp", "kmip"
55

66
# AWS Credentials
77

source/includes/qe-tutorials/php/queryable-encryption-helpers.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,28 +128,18 @@ function getAutoEncryptionOptions(
128128
$tlsOptions = getKmipTlsOptions();
129129

130130
// start-kmip-encryption-options
131-
$sharedLibraryPathOptions = [
132-
'cryptSharedLibPath' => getenv('SHARED_LIB_PATH'), // Path to your Automatic Encryption Shared Library
133-
];
134-
135131
$autoEncryptionOptions = [
136132
'keyVaultNamespace' => $keyVaultNamespace,
137133
'kmsProviders' => $kmsProviders,
138-
'sharedLibraryPathOptions' => $sharedLibraryPathOptions,
139134
'tlsOptions' => $tlsOptions,
140135
];
141136
// end-kmip-encryption-options
142137
return $autoEncryptionOptions;
143138
} else {
144139
// start-auto-encryption-options
145-
$sharedLibraryPathOptions = [
146-
'cryptSharedLibPath' => getenv('SHARED_LIB_PATH'), // Path to your Automatic Encryption Shared Library
147-
];
148-
149140
$autoEncryptionOptions = [
150141
'keyVaultNamespace' => $keyVaultNamespace,
151142
'kmsProviders' => $kmsProviders,
152-
'sharedLibraryPathOptions' => $sharedLibraryPathOptions,
153143
];
154144
// end-auto-encryption-options
155145

0 commit comments

Comments
 (0)