File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
source/core/csfle/fundamentals Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
1
.. DOCSP-22176: Move the data key delete ref to the location
2
2
of this content once the content is added.
3
3
4
- .. _field-level-encryption-data-key-delete:
5
4
.. _field-level-encryption-data-key-manage:
6
5
.. _csfle-fundamentals-manage-keys:
7
6
@@ -267,6 +266,26 @@ As a result, the ``salary`` fields in the two example documents are
267
266
uniquely encrypted using {+dek-long+}s specific to the individual
268
267
document. The keys are assigned dynamically at runtime.
269
268
269
+ .. _field-level-encryption-data-key-delete:
270
+
271
+ Delete a {+dek-long+}
272
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273
+
274
+ You can delete a {+dek-abbr+} from your {+key-vault-long+} using standard CRUD
275
+ :ref:`delete operations <write-op-delete>`.
276
+
277
+ .. tip:: MongoDB Shell Specific Feature
278
+
279
+ The MongoDB shell allows you to delete a {+dek-abbr+} by ``UUID`` using
280
+ the ``keyVault.deleteKey()`` method as follows:
281
+
282
+ .. code-block:: none
283
+
284
+ keyVault = db.getKeyVault()
285
+ keyVault.deleteKey(UUID("<UUID String>"))
286
+
287
+ To learn more about {+key-vault-long+}s see :ref:`csfle-reference-key-vault`.
288
+
270
289
Learn More
271
290
----------
272
291
You can’t perform that action at this time.
0 commit comments