Skip to content

Commit 233c781

Browse files
jocelyn-mendez1Jocelyn Mendez
andauthored
DOCSP-22742 In-Use Encryption updates (#417)
* DOCSP-22744 add QE to create collection/database procedures (#413) * DOCSP-22744 add QE to create collection/database procedures * DOCSP-22744 made collection options into an include * DOCSP-22743 In-Use Encryption Procedure (#411) * DOCSP-22743 in-use encryption procedure * DOCSP-22743 in-use encryption procedure * DOCSP-22743 fixing link * DOCSP-22743 fixing link * DOCSP-22743 fixing link * DOCSP-22743 last step * DOCSP-22743 correcting links and table * DOCSP-22743 fixing links * DOCSP-22743 fixing links * DOCSP-22743 fixing links * DOCSP-22743 fixing links * DOCSP-22743 fixing links * DOCSP-22743 fixing links * DOCSP-22743 removing note and adding to paragraph * DOCSP-22743 correcting enterprise blurb * DOCSP-22743 correcting enterprise blurb * DOCSP-22743 fixed required columns * DOCSP-22743 fix columns * DOCSP-22743 single node replica set Co-authored-by: Jocelyn Mendez <[email protected]> * DOCSP-22748 In-Use Encryption Tutorial (#415) * DOCSP-22748 QE tutorial * DOCSP-22748 fix typo * DOCSP-22748 rewording * DOCSP-22748 nit change * DOCSP-22748 add note regarding CSFLE * DOCSP-22748 removing note * DOCSP-22747 Add Queryable Encryption to Encrypted Fields section (#414) * DOCSP-22747 add queryable encryption to encrypted fields section * DOCSP-22747 QE tutorial * DOCSP-22747 QE tutorial * DOCSP-22747 fixing screenshot * DOCSP-22747 fixing link and typos * DOCSP-22747 add banner to page * DOCSP-22747 removing changes not for this branch * DOCSP-22747 rewording * DOCSP-22747 reorganized order of info * DOCSP-22747 changing to in-use encryption * DOCSP-22742 changing title for consistency * DOCSP-22742 add banner to tutorial page * DOCSP-22742 nit changes * DOCSP-22742 nit changes Co-authored-by: Jocelyn Mendez <[email protected]>
1 parent e0bf74c commit 233c781

16 files changed

+485
-20
lines changed

snooty.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@ toc_landing_pages = ["/install", "/connect", "/instance", "/query/filter", "/que
1414
download-page = "`downloads page <https://www.mongodb.com/download-center/compass?tck=docs_compass>`__"
1515
current-version = "1.32.3"
1616

17+
[[banners]]
18+
targets = [
19+
"connect/in-use-encryption.txt",
20+
"in-use-encryption-tutorial.txt",
21+
]
22+
23+
variant = "danger"
24+
value = """
25+
Queryable Encryption is in Public Preview and available for \
26+
evaluation purposes. Public Preview is not recommended for \
27+
production deployments as breaking changes may be introduced. \
28+
To learn more about the Preview please see the \
29+
`Queryable Encryption Preview <https://www.mongodb.com/blog/post/mongodb-releases-queryable-encryption-preview/>`__ \
30+
blog post.
31+
"""
1732

1833
[substitutions]
1934
compass = "MongoDB Compass"

source/connect.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,16 @@ The Advanced Connection Options provide additonal forms of connecting
9999
Learn how to connect deployments that require authentication.
100100

101101
:doc:`/connect/tls-ssl-connection`
102-
Learn how to connect deployments via TLS/SSL.
102+
Learn how to connect deployments using TLS/SSL.
103103

104104
:doc:`/connect/ssh-connection`
105-
Learn how to connect deployments via an SSH tunnel.
105+
Learn how to connect deployments using an SSH tunnel.
106+
107+
:doc:`/connect/in-use-encryption`
108+
Learn how to connect deployments using In-Use Encryption.
106109

107110
:doc:`/connect/advanced-connection`
108-
Learn about additional advanced connection options for your deployments.
111+
Learn about additional advanced connection options for your deployments.
109112

110113
.. seealso::
111114

@@ -118,6 +121,7 @@ The Advanced Connection Options provide additonal forms of connecting
118121
/connect/authentication-connection
119122
/connect/tls-ssl-connection
120123
/connect/ssh-connection
124+
/connect/in-use-encryption
121125
/connect/advanced-connection
122126
/connect/required-access
123127
/connect/favorite-connections

source/connect/in-use-encryption.txt

Lines changed: 264 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,264 @@
1+
.. _in-use-encryption-tab:
2+
3+
================================
4+
In-Use Encryption Connection Tab
5+
================================
6+
7+
.. default-domain:: mongodb
8+
9+
.. contents:: On this page
10+
:local:
11+
:backlinks: none
12+
:depth: 1
13+
:class: singlecol
14+
15+
:guilabel:`In-Use Encryption` is an Enterprise/Atlas only feature. You need a
16+
replica set or sharded cluster to use this connection option. Your replica set
17+
can be a single node or larger.
18+
19+
The :guilabel:`In-Use Encryption` connection tab allows you to connect your
20+
deployments using :v6.0:`Queryable Encryption </core/queryable-encryption/>`.
21+
22+
Procedure
23+
---------
24+
25+
.. procedure::
26+
:style: normal
27+
28+
.. step:: Click :guilabel:`Advanced Connection Options`.
29+
30+
.. figure:: /images/compass/advanced-connection-options.png
31+
:figwidth: 690px
32+
:alt: New Advanced Connection Options
33+
34+
.. step:: Click the :guilabel:`In-Use Encryption` tab.
35+
36+
.. procedure::
37+
:style: connected
38+
39+
.. step:: Provide a :guilabel:`Key Vault Namespace`.
40+
41+
A :guilabel:`Key Vault Namespace` refers to a collection that
42+
contains all the data keys used for encryption and decryption.
43+
44+
Specify a collection in which data encryption keys are stored in
45+
the format ``<db>.<collection>``. The non-official default
46+
database/collection for keyVault is ``encryption.__keyVault``.
47+
48+
.. step:: Select a :guilabel:`KMS Provider`.
49+
50+
You can select from the following Key Management Systems:
51+
52+
- :ref:`Local KMS <local-kms>`
53+
54+
- :ref:`AWS <aws-compass-encryption>`
55+
56+
- :ref:`GCP <gcp-compass-encryption>`
57+
58+
- :ref:`Azure <azure-compass-encryption>`
59+
60+
- :ref:`KMIP <kmip-compass-encryption>`
61+
62+
.. _local-kms:
63+
64+
Local KMS
65+
~~~~~~~~~
66+
67+
You can locally manage your key as a KMS using the
68+
:v6.0:`Local KMS </core/queryable-encryption/fundamentals/kms-providers/#local-key-provider>`
69+
option.
70+
71+
Click :guilabel:`Generate Random Key` to generate a 96-byte long
72+
base64-encoded string. You need this key to access encrypted and
73+
decrypted data.
74+
75+
.. warning::
76+
77+
|compass-short| does not save KMS credentials by default. Copy
78+
and save the key in an external location.
79+
80+
.. _aws-compass-encryption:
81+
82+
AWS
83+
~~~
84+
85+
You can use :v6.0:`AWS </core/queryable-encryption/fundamentals/kms-providers/#amazon-web-services-kms>`
86+
to manage your keys.
87+
88+
Specify the following fields:
89+
90+
.. list-table::
91+
:header-rows: 1
92+
:widths: 30 30 70
93+
94+
* - Field
95+
- Required
96+
- Description
97+
98+
* - Access Key Id
99+
- Yes
100+
- Value of your AWS access key Id.
101+
102+
* - Secret Access Key
103+
- Yes
104+
- Value of your AWS secret key.
105+
106+
* - Session Token
107+
- No
108+
- Value of your AWS session token.
109+
110+
* - Certificate Authority
111+
- No
112+
- One or more certificate files from trusted Certificate
113+
Authorities to validate the certificate provided by the deployment.
114+
115+
* - Client Certificate and Key
116+
- No
117+
- Specifies the location of a local .pem file that contains
118+
either the client's TLS/SSL X.509 certificate or the client's TLS/SSL
119+
certificate and key.
120+
121+
* - Client Key Password
122+
- No
123+
- If the *Client Private Key* is protected with a password,
124+
you must provide the password.
125+
126+
.. _gcp-compass-encryption:
127+
128+
GCP
129+
~~~
130+
131+
You can use :v6.0:`Google Cloud Services </core/queryable-encryption/fundamentals/kms-providers/#google-cloud-platform-kms>` to manage your keys.
132+
133+
Specify the following fields:
134+
135+
.. list-table::
136+
:header-rows: 1
137+
:widths: 30 30 70
138+
139+
* - Field
140+
- Required
141+
- Description
142+
143+
* - Service Account Email
144+
- Yes
145+
- The service account email to authenticate.
146+
147+
* - Private Key
148+
- Yes
149+
- A base64-encoded private key.
150+
151+
* - Endpoint
152+
- No
153+
- A host with an optional port.
154+
155+
* - Certificate Authority
156+
- No
157+
- One or more certificate files from trusted Certificate
158+
Authorities to validate the certificate provided by the deployment.
159+
160+
* - Client Certificate and Key
161+
- No
162+
- Specifies the location of a local .pem file that contains
163+
either the client's TLS/SSL X.509 certificate or the client's TLS/SSL
164+
certificate and key.
165+
166+
* - Client Key Password
167+
- No
168+
- If the *Client Private Key* is protected with a password,
169+
you must provide the password.
170+
171+
172+
.. _azure-compass-encryption:
173+
174+
Azure
175+
~~~~~
176+
177+
You can use :v6.0:`Azure Key Vault </core/queryable-encryption/fundamentals/kms-providers/#azure-key-vault>`
178+
to manage your keys.
179+
180+
Specify the following fields:
181+
182+
.. list-table::
183+
:header-rows: 1
184+
:widths: 30 30 70
185+
186+
* - Field
187+
- Required
188+
- Description
189+
190+
* - Tenant Id
191+
- Yes
192+
- Identifies the organization for the account.
193+
194+
* - Client Id
195+
- Yes
196+
- Authenticates a registered application.
197+
198+
* - Client Secret
199+
- Yes
200+
- The client secret to authenticate a registered application.
201+
202+
* - Identity Platform Endpoint
203+
- Yes
204+
- A host with an optional port.
205+
206+
* - Certificate Authority
207+
- No
208+
- One or more certificate files from trusted Certificate
209+
Authorities to validate the certificate provided by the deployment.
210+
211+
* - Client Certificate and Key
212+
- No
213+
- Specifies the location of a local .pem file that contains
214+
either the client's TLS/SSL X.509 certificate or the client's TLS/SSL
215+
certificate and key.
216+
217+
* - Client Key Password
218+
- No
219+
- If the *Client Private Key* is protected with a password,
220+
you must provide the password.
221+
222+
.. _kmip-compass-encryption:
223+
224+
KMIP
225+
~~~~
226+
227+
You can use :v6.0:`KMIP </core/queryable-encryption/fundamentals/kms-providers/#kmip>`
228+
to manage your keys.
229+
230+
.. list-table::
231+
:header-rows: 1
232+
:widths: 30 30 70
233+
234+
* - Field
235+
- Required
236+
- Description
237+
238+
* - Endpoint
239+
- Yes
240+
- The endpoint consists of a hostname and port separated by a colon.
241+
242+
* - Certificate Authority
243+
- No
244+
- One or more certificate files from trusted Certificate
245+
Authorities to validate the certificate provided by the deployment.
246+
247+
* - Client Certificate and Key
248+
- No
249+
- Specifies the location of a local .pem file that contains
250+
either the client's TLS/SSL X.509 certificate or the client's TLS/SSL
251+
certificate and key.
252+
253+
* - Client Key Password
254+
- No
255+
- If the *Client Private Key* is protected with a password,
256+
you must provide the password.
257+
258+
.. step:: (Optional) Specify an EncryptedFieldsMap
259+
260+
Add an optional client-side EncryptedFieldsMap for enhanced security.
261+
262+
For more information, see :v6.0:`Fields for Encryption </core/queryable-encryption/fundamentals/encrypt-and-query/#std-label-qe-fundamentals-encrypt-query>`.
263+
264+
.. step:: Click Connect.

source/documents/view.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,15 @@ Encrypted Fields
184184
:figwidth: 696px
185185
:alt: Encrypted field in list view
186186

187+
.. include:: /includes/fact-qe-description.rst
188+
187189
.. tab:: JSON View
188190
:tabid: json
189191

190192
.. include:: /includes/fact-fle-description.rst
191193

194+
.. include:: /includes/fact-qe-description.rst
195+
192196
.. tab:: Table View
193197
:tabid: table-view
194198

@@ -197,3 +201,5 @@ Encrypted Fields
197201
.. figure:: /images/compass/encrypted-fields-table.png
198202
:figwidth: 696px
199203
:alt: Encrypted field in table view
204+
205+
.. include:: /includes/fact-qe-description.rst

source/images/compass/enable-qe.png

104 KB
Loading
248 KB
Loading
Loading

source/images/compass/qe-badge.png

19.6 KB
Loading
200 KB
Loading

0 commit comments

Comments
 (0)