Skip to content

Commit 1b63aa5

Browse files
authored
Fix kmsProvider configuration example (#928)
1 parent 5ad4756 commit 1b63aa5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/encryption.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Additional options are available for advanced use cases.
2929
server: "mongodb://localhost:27017"
3030
autoEncryption:
3131
kmsProvider:
32-
local:
33-
key: "YOUR_BASE64_KEY"
34-
# Optional: see below for more options
32+
type: local
33+
key: "YOUR_BASE64_KEY"
34+
# See below for more optional configuration
3535
3636
.. code-block:: php
3737
@@ -45,7 +45,7 @@ Additional options are available for advanced use cases.
4545
'type' => 'local',
4646
'key' => 'YOUR_BASE64_KEY',
4747
],
48-
// ... other options ...
48+
// See below for more optional configuration
4949
]);
5050
};
5151

0 commit comments

Comments
 (0)