1
- title : Configure Your KMIP KMS
2
- ref : configure-kmip-kms
1
+ title : Configure Your KMIP Provider
2
+ ref : configure-kmip-provider
3
3
content : |
4
4
5
- To connect a MongoDB driver client to your KMIP KMS , you must configure your KMS
6
- such that it accepts your client's TLS certificate.
5
+ To connect a MongoDB driver client to your KMIP provider , you must configure
6
+ your KMIP provider such that it accepts your client's TLS certificate.
7
7
8
- Consult the documentation for your KMIP KMS for information on how
9
- to accept your client certificate with your specific KMS .
8
+ Consult the documentation for your KMIP provider for information on how
9
+ to accept your client certificate.
10
10
11
11
---
12
12
title : Specify your Certificates
13
13
ref : specify-certificates
14
14
content : |
15
15
16
- Your client must connect to your KMIP KMS through TLS and present
17
- a client certificate accepted by your KMS server .
16
+ Your client must connect to your KMIP provider through TLS and present
17
+ a client certificate that your KMIP provider accepts .
18
18
19
19
.. tabs-drivers::
20
20
@@ -32,7 +32,7 @@ content: |
32
32
33
33
.. note:: Configure Client With SSLContext
34
34
35
- If you would rather configure your KMIP client using an SSL context, use the
35
+ If you would rather configure your KMIP provider- client using an SSL context, use the
36
36
`kmsProviderSslContextMap <{+java-api+}/apidocs/mongodb-driver-core/com/mongodb/ClientEncryptionSettings.Builder.html#kmsProviderSslContextMap(java.util.Map)>`__
37
37
method.
38
38
@@ -41,12 +41,12 @@ title: Create a New Data Encryption Key
41
41
ref : create-a-new-data-key
42
42
content : |
43
43
To encrypt your data, you need a data encryption key generated from your
44
- KMS -hosted **master key**. The following diagram shows the requests you need
44
+ KMIP provider -hosted **master key**. The following diagram shows the requests you need
45
45
to make from the client application to create and store a new **data
46
46
encryption key**:
47
47
48
- .. image:: /figures/CSFLE_Data_Key_KMS .png
49
- :alt: Diagram that describes creating a data encryption key when using a KMS provider
48
+ .. image:: /figures/CSFLE_Data_Key_KMIP .png
49
+ :alt: Diagram that describes creating a data encryption key when using a KMIP provider
50
50
51
51
1. First, specify the following information to access the master key:
52
52
@@ -63,23 +63,23 @@ content: |
63
63
- No
64
64
- The ``keyId`` field of a 96 byte
65
65
`Secret Data managed object <http://docs.oasis-open.org/kmip/spec/v1.4/os/kmip-spec-v1.4-os.html#_Toc490660780>`__
66
- stored in your KMIP KMS .
66
+ stored in your KMIP provider .
67
67
68
68
.. note:: Create a New Master Key
69
69
70
70
If you do not specify the ``keyId`` field in the ``masterKey`` document
71
- you send to your KMIP KMS , the driver creates a new
72
- 96 Byte Secret Data managed object in your KMS to act as your
71
+ you send to your KMIP provider , the driver creates a new
72
+ 96 Byte Secret Data managed object in your KMIP provider to act as your
73
73
master key.
74
74
75
75
* - endpoint
76
76
- Yes
77
- - The URI of your KMIP KMS .
77
+ - The URI of your KMIP provider .
78
78
79
79
2. Once you have the required information, update and run the following code
80
80
to generate the new data encryption key:
81
81
82
- .. include:: /includes/substitute-placeholders.rst
82
+ .. include:: /includes/substitute-placeholders-kmip .rst
83
83
84
84
.. tabs-drivers::
85
85
@@ -90,7 +90,7 @@ content: |
90
90
91
91
Map<String, Map<String, Object>> kmsProviderProperties = new HashMap<>();
92
92
Map<String, Object> providerDetails = new HashMap<>();
93
- providerDetails.put("endpoint", "<KMIP KMS URI>");
93
+ providerDetails.put("endpoint", "<KMIP provider URI>");
94
94
kmsProviderProperties.put(kmsProvider, providerDetails);
95
95
String keyVaultCollection = "<MongoDB namespace where you store your keys>"
96
96
@@ -112,7 +112,7 @@ content: |
112
112
113
113
.. note::
114
114
115
- To use a KMIP KMS , you must use `mongodb-crypt <https://mvnrepository.com/artifact/org.mongodb/mongodb-crypt>`__
115
+ To use a KMIP provider , you must use `mongodb-crypt <https://mvnrepository.com/artifact/org.mongodb/mongodb-crypt>`__
116
116
version 1.3 or later in your application's environment.
117
117
118
118
---
@@ -124,4 +124,4 @@ content: |
124
124
with your new data encryption key ID.
125
125
126
126
Your client application is now ready to automatically encrypt your data
127
- using the master key on your KMS provider.
127
+ using the master key on your KMIP provider.
0 commit comments