PYTHON-4164 Document support for KMIP delegated master_key (#1830)
This commit is contained in:
parent
b37fb91896
commit
653ea8b8d2
@ -11,6 +11,8 @@ PyMongo 4.9 brings a number of improvements including:
|
||||
- Added support for In-Use Encryption range queries with MongoDB 8.0.
|
||||
Added :attr:`~pymongo.encryption.Algorithm.RANGE`.
|
||||
``sparsity`` and ``trim_factor`` are now optional in :class:`~pymongo.encryption_options.RangeOpts`.
|
||||
- Added support for the "delegated" option for the KMIP ``master_key`` in
|
||||
:meth:`~pymongo.encryption.ClientEncryption.create_data_key`.
|
||||
- pymongocrypt>=1.10 is now required for :ref:`In-Use Encryption` support.
|
||||
- Added :meth:`~pymongo.cursor.Cursor.to_list` to :class:`~pymongo.cursor.Cursor`,
|
||||
:class:`~pymongo.command_cursor.CommandCursor`,
|
||||
|
||||
@ -764,6 +764,9 @@ class AsyncClientEncryption(Generic[_DocumentType]):
|
||||
Secret Data managed object.
|
||||
- `endpoint` (string): Optional. Host with optional
|
||||
port, e.g. "example.vault.azure.net:".
|
||||
- `delegated` (bool): Optional. If True (recommended), the
|
||||
KMIP server will perform encryption and decryption. If
|
||||
delegated is not provided, defaults to false.
|
||||
|
||||
:param key_alt_names: An optional list of string alternate
|
||||
names used to reference a key. If a key is created with alternate
|
||||
|
||||
@ -762,6 +762,9 @@ class ClientEncryption(Generic[_DocumentType]):
|
||||
Secret Data managed object.
|
||||
- `endpoint` (string): Optional. Host with optional
|
||||
port, e.g. "example.vault.azure.net:".
|
||||
- `delegated` (bool): Optional. If True (recommended), the
|
||||
KMIP server will perform encryption and decryption. If
|
||||
delegated is not provided, defaults to false.
|
||||
|
||||
:param key_alt_names: An optional list of string alternate
|
||||
names used to reference a key. If a key is created with alternate
|
||||
|
||||
@ -6,7 +6,8 @@
|
||||
"replicaset",
|
||||
"sharded",
|
||||
"load-balanced"
|
||||
]
|
||||
],
|
||||
"serverless": "forbid"
|
||||
}
|
||||
],
|
||||
"database_name": "default",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user