Skip to content

Commit 2740687

Browse files
author
Chris Cho
authored
Snooty warning and error fixes (#699)
* address warnings and errors
1 parent 569e1af commit 2740687

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

source/includes/steps-fle-configure-the-mongodb-client.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ content: |
3232
.. code-block:: csharp
3333
3434
var keyVaultNamespace = CollectionNamespace.FromFullName("encryption.__keyVault");
35-
3635
---
3736
title: Specify the Local Master Encryption Key
3837
ref: specify-the-local-master-encryption-key
@@ -90,7 +89,6 @@ content: |
9089
{ "key", localMasterKeyBytes }
9190
};
9291
kmsProviders.Add("local", localOptions);
93-
9492
---
9593
title: Map the JSON Schema to the Patients Collection
9694
ref: map-the-json-schema-to-the-patients-collection
@@ -222,7 +220,6 @@ content: |
222220
223221
Ensure ``mongocrypt.dll` is included with your application's build
224222
assets.
225-
226223
---
227224
title: Create the MongoClient
228225
ref: create-the-mongoclient

source/includes/steps-fle-convert-to-a-remote-master-key-gcp.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
title: Create a GCP Service Account
22
ref: create-a-gcp-service-account
33
content: |
4-
54
Create a service account for your client application by following the
65
official Google documentation on
76
`Creating and managing a service account <https://cloud.google.com/iam/docs/creating-managing-service-accounts#creating>`__.
@@ -12,12 +11,10 @@ content: |
1211
- **email**
1312
- **privateKey** (this value is only returned when you create the account)
1413
- **endpoint**
15-
1614
---
1715
title: Create the Master Key
1816
ref: create-the-master-key-gcp
1917
content: |
20-
2118
The following diagram shows the creation and storage of a **master key**
2219
on a KMS provider:
2320
@@ -50,7 +47,6 @@ content: |
5047
for the master key. We recommend that you follow the
5148
`principle of least privilege <https://en.wikipedia.org/wiki/Principle_of_least_privilege>`__
5249
to keep your data secure.
53-
5450
---
5551
title: Specify your Google Cloud KMS Credentials
5652
ref: specify-your-gcp-kms-provider-credentials
@@ -163,7 +159,6 @@ content: |
163159
164160
To use the GCP KMS, you must use
165161
`libmongocrypt <https://github.com/mongodb/libmongocrypt#installing-libmongocrypt-on-windows>`__ version 1.1 or later in your application's environment.
166-
167162
---
168163
title: Create a New Data Encryption Key
169164
ref: create-a-new-data-key-gcp
@@ -302,7 +297,6 @@ content: |
302297
Console.WriteLine($"DataKeyId [UUID]: {dataKeyId}");
303298
var dataKeyIdBase64 = Convert.ToBase64String(GuidConverter.ToBytes(dataKeyId, GuidRepresentation.Standard));
304299
Console.WriteLine($"DataKeyId [base64]: {dataKeyIdBase64}");
305-
306300
---
307301
title: Update the Automatic Encryption JSON Schema
308302
ref: update-the-json-schema-gcp

source/security/client-side-field-level-encryption-guide.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Client-Side Field Level Encryption Guide
33
========================================
44

5-
.. default-domain:: mongodb
6-
75
.. contents:: On this page
86
:local:
97
:backlinks: none
@@ -277,7 +275,7 @@ Additional Dependencies
277275

278276
* - `mongocrypt.dll
279277
<https://github.com/mongodb/libmongocrypt#installing-libmongocrypt-on-windows>`__
280-
- A Windows build of `mongocrypt.dll`.
278+
- A Windows build of ``mongocrypt.dll``.
281279

282280

283281
.. _fle-create-a-master-key:

0 commit comments

Comments
 (0)