File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed
test/client-side-encryption/spec/legacy Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ PyMongo 4.9 brings a number of improvements including:
14
14
- Added support for In-Use Encryption range queries with MongoDB 8.0.
15
15
Added :attr: `~pymongo.encryption.Algorithm.RANGE `.
16
16
``sparsity `` and ``trim_factor `` are now optional in :class: `~pymongo.encryption_options.RangeOpts `.
17
+ - Added support for the "delegated" option for the KMIP ``master_key `` in
18
+ :meth: `~pymongo.encryption.ClientEncryption.create_data_key `.
17
19
- pymongocrypt>=1.10 is now required for :ref: `In-Use Encryption ` support.
18
20
- Added :meth: `~pymongo.cursor.Cursor.to_list ` to :class: `~pymongo.cursor.Cursor `,
19
21
:class: `~pymongo.command_cursor.CommandCursor `,
Original file line number Diff line number Diff line change @@ -764,6 +764,9 @@ async def create_data_key(
764
764
Secret Data managed object.
765
765
- `endpoint` (string): Optional. Host with optional
766
766
port, e.g. "example.vault.azure.net:".
767
+ - `delegated` (bool): Optional. If True (recommended), the
768
+ KMIP server will perform encryption and decryption. If
769
+ delegated is not provided, defaults to false.
767
770
768
771
:param key_alt_names: An optional list of string alternate
769
772
names used to reference a key. If a key is created with alternate
Original file line number Diff line number Diff line change @@ -762,6 +762,9 @@ def create_data_key(
762
762
Secret Data managed object.
763
763
- `endpoint` (string): Optional. Host with optional
764
764
port, e.g. "example.vault.azure.net:".
765
+ - `delegated` (bool): Optional. If True (recommended), the
766
+ KMIP server will perform encryption and decryption. If
767
+ delegated is not provided, defaults to false.
765
768
766
769
:param key_alt_names: An optional list of string alternate
767
770
names used to reference a key. If a key is created with alternate
Original file line number Diff line number Diff line change 6
6
" replicaset" ,
7
7
" sharded" ,
8
8
" load-balanced"
9
- ]
9
+ ],
10
+ "serverless" : " forbid"
10
11
}
11
12
],
12
13
"database_name" : " default" ,
You can’t perform that action at this time.
0 commit comments