Skip to content

Commit 2f8aa6a

Browse files
committed
remove "tls" from opts_set_kms_providers RST docs
1 parent 5ab835f commit 2f8aa6a

File tree

2 files changed

+7
-40
lines changed

2 files changed

+7
-40
lines changed

src/libmongoc/doc/mongoc_auto_encryption_opts_set_kms_providers.rst

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ The format for "aws" is as follows:
2727
2828
aws: {
2929
accessKeyId: String,
30-
secretAccessKey: String,
31-
tls : Document
30+
secretAccessKey: String
3231
}
3332
3433
The format for "local" is as follows:
@@ -47,8 +46,7 @@ The format for "azure" is as follows:
4746
tenantId: String,
4847
clientId: String,
4948
clientSecret: String,
50-
identityPlatformEndpoint: Optional<String>, // Defaults to login.microsoftonline.com
51-
tls : Document
49+
identityPlatformEndpoint: Optional<String> // Defaults to login.microsoftonline.com
5250
}
5351
5452
The format for "gcp" is as follows:
@@ -59,31 +57,16 @@ The format for "gcp" is as follows:
5957
email: String,
6058
privateKey: byte[] or String, // May be passed as a base64 encoded string.
6159
endpoint: Optional<String> // Defaults to oauth2.googleapis.com
62-
tls : Document,
6360
}
6461
6562
The format for "kmip" is as follows:
6663

6764
.. code-block:: javascript
6865
6966
kmip: {
70-
endpoint: String,
71-
tls : Document
67+
endpoint: String
7268
}
7369
74-
The keys of the "tls" document may be the following TLS options:
75-
76-
- MONGOC_URI_TLSCERTIFICATEKEYFILE
77-
- MONGOC_URI_TLSCERTIFICATEKEYFILEPASSWORD
78-
- MONGOC_URI_TLSCAFILE
79-
- MONGOC_URI_TLSALLOWINVALIDCERTIFICATES
80-
- MONGOC_URI_TLSALLOWINVALIDHOSTNAMES
81-
- MONGOC_URI_TLSINSECURE
82-
- MONGOC_URI_TLSDISABLECERTIFICATEREVOCATIONCHECK
83-
- MONGOC_URI_TLSDISABLEOCSPENDPOINTCHECK
84-
85-
See :doc:`configuring_tls` for a description of these options.
86-
8770
.. seealso::
8871

8972
| :symbol:`mongoc_client_enable_auto_encryption()`

src/libmongoc/doc/mongoc_client_encryption_opts_set_kms_providers.rst

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ The format for "aws" is as follows:
2626
2727
aws: {
2828
accessKeyId: String,
29-
secretAccessKey: String,
30-
tls : Document
29+
secretAccessKey: String
3130
}
3231
3332
The format for "local" is as follows:
@@ -46,8 +45,7 @@ The format for "azure" is as follows:
4645
tenantId: String,
4746
clientId: String,
4847
clientSecret: String,
49-
identityPlatformEndpoint: Optional<String>, // Defaults to login.microsoftonline.com
50-
tls : Document
48+
identityPlatformEndpoint: Optional<String> // Defaults to login.microsoftonline.com
5149
}
5250
5351
The format for "gcp" is as follows:
@@ -57,31 +55,17 @@ The format for "gcp" is as follows:
5755
gcp: {
5856
email: String,
5957
privateKey: byte[] or String, // May be passed as a base64 encoded string.
60-
endpoint: Optional<String>, // Defaults to oauth2.googleapis.com
61-
tls : Document
58+
endpoint: Optional<String> // Defaults to oauth2.googleapis.com
6259
}
6360
6461
The format for "kmip" is as follows:
6562

6663
.. code-block:: javascript
6764
6865
kmip: {
69-
endpoint: String,
70-
tls : Document
66+
endpoint: String
7167
}
7268
73-
The keys of the "tls" document may be the following TLS options:
74-
75-
- MONGOC_URI_TLSCERTIFICATEKEYFILE
76-
- MONGOC_URI_TLSCERTIFICATEKEYFILEPASSWORD
77-
- MONGOC_URI_TLSCAFILE
78-
- MONGOC_URI_TLSALLOWINVALIDCERTIFICATES
79-
- MONGOC_URI_TLSALLOWINVALIDHOSTNAMES
80-
- MONGOC_URI_TLSINSECURE
81-
- MONGOC_URI_TLSDISABLECERTIFICATEREVOCATIONCHECK
82-
- MONGOC_URI_TLSDISABLEOCSPENDPOINTCHECK
83-
84-
See :doc:`configuring_tls` for a description of these options.
8569
8670
.. seealso::
8771

0 commit comments

Comments
 (0)