Skip to content

Commit fddd0cc

Browse files
committed
DOCSP-13972 clarify keyID array of single UUID
1 parent 58bf04d commit fddd0cc

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

source/reference/security-client-side-automatic-json-schema.txt

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,13 @@ and ``taxid-short`` fields for write or read operations to the
229229

230230
.. autoencryptkeyword:: encrypt.keyId
231231

232-
*Array of UUID*
232+
*Array of single UUID*
233233

234234
The UUID of the data encryption key to use for encrypting field
235-
values. Specify *one* string inside the array. The UUID is a BSON
236-
`binary data <http://bsonspec.org/spec.html>`_ element of subtype
237-
``4``.
235+
values. The UUID is a BSON `binary data
236+
<http://bsonspec.org/spec.html>`_ element of subtype ``4``.
237+
238+
Specify *one* string inside the array.
238239

239240
If omitted, :ref:`mongocryptd` checks the full tree of parent
240241
fields for the nearest
@@ -327,15 +328,16 @@ and ``taxid-short`` fields for write or read operations to the
327328

328329
*Array of single UUID*
329330

330-
The UUID of a data encryption key. If an
331-
:autoencryptkeyword:`encrypt` object is missing the
331+
The UUID of a data encryption key. The UUID is a BSON `binary data
332+
<http://bsonspec.org/spec.html>`_ element of subtype ``4``.
333+
334+
Specify *one* string inside the array.
335+
336+
If an :autoencryptkeyword:`encrypt` object is missing the
332337
:autoencryptkeyword:`~encrypt.keyId` field, ``mongocryptd``
333338
searches the entire tree of parent objects to locate
334339
an :autoencryptkeyword:`encryptMetadata` object that
335340
specifies :autoencryptkeyword:`encryptMetadata.keyId`.
336-
337-
The UUID is a BSON `binary data <http://bsonspec.org/spec.html>`_
338-
element of subtype ``4``.
339341

340342
The data encryption key *must* exist in the key vault specified as
341343
part of the auto encryption :ref:`configuration options

0 commit comments

Comments
 (0)