|
| 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. |
0 commit comments