Skip to content

Commit a162754

Browse files
mongoKartrustagir
andcommitted
Authentication refactor (#284) (#325)
* Authentication refactor (#284) Co-authored-by: Rea Rustagi <[email protected]> (cherry picked from commit bf67d80) (cherry picked from commit 3999260)
1 parent 358a035 commit a162754

14 files changed

+1126
-859
lines changed

config/redirects

+3
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ raw: ${prefix}/master -> ${base}/upcoming/
1414
[*-master]: ${prefix}/${version}/fundamentals/data-formats/polymorphism/ -> ${base}/${version}/fundamentals/serialization/polymorphic-objects/
1515
[*-master]: ${prefix}/${version}/fundamentals/data-formats/bson/ -> ${base}/${version}/fundamentals/bson/
1616
[*-master]: ${prefix}/${version}/fundamentals/class-mapping/ -> ${base}/${version}/fundamentals/serialization/class-mapping/
17+
[*-v2.30]: ${prefix}/${version}/upgrade/v2/ -> ${base}/${version}/upgrade/
18+
[*-v2.30]: ${prefix}/${version}/upgrade/v3/ -> ${base}/${version}/upgrade/
19+
[v3.0-*]: ${prefix}/${version}/fundamentals/enterprise-authentication/ -> ${base}/${version}/fundamentals/authentication/

snooty.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ toc_landing_pages = [
66
"/usage-examples",
77
"/fundamentals",
88
"/fundamentals/serialization",
9-
<<<<<<< HEAD
10-
=======
9+
"/fundamentals/authentication",
1110
"/upgrade",
1211
"/fundamentals/database-collection"
13-
>>>>>>> e4bcadc (DOCSP-45004: Run Command (#320))
1412
]
1513

1614
intersphinx = [

source/connection-troubleshooting.txt

+1-22
Original file line numberDiff line numberDiff line change
@@ -182,28 +182,7 @@ the same machine doesn't require any authorization to connect.
182182
X.509 Credential Error
183183
~~~~~~~~~~~~~~~~~~~~~~
184184

185-
If you are using Windows as your operating system, you might encounter an issue in which the
186-
{+driver-short+} is unable to locate an ``X.509`` authentication certificate in memory.
187-
This error is raised with the following error message:
188-
189-
.. code-block:: none
190-
:copyable: false
191-
192-
No credentials are available in the security package
193-
194-
The following section describes a method that may help resolve the issue.
195-
196-
Create and Store the Certificate On-Disk
197-
----------------------------------------
198-
199-
Use the following code to generate any ``X.509`` certificates required by your application:
200-
201-
.. code-block:: csharp
202-
203-
using (X509Certificate2 certWithKey = certOnly.CopyWithPrivateKey(key))
204-
{
205-
return new X509Certificate2(certWithKey.Export(X509ContentType.Pkcs12));
206-
}
185+
.. include:: /includes/troubleshooting/x509.rst
207186

208187
Error Sending Message
209188
~~~~~~~~~~~~~~~~~~~~~

source/fundamentals.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Fundamentals
1818
Atlas Search </fundamentals/atlas-search>
1919
Stable API </fundamentals/stable-api>
2020
Authentication </fundamentals/authentication>
21-
Enterprise Authentication </fundamentals/enterprise-authentication>
2221
Aggregation </fundamentals/aggregation>
2322
LINQ </fundamentals/linq>
2423
BSON Operations </fundamentals/bson>
@@ -39,7 +38,6 @@ Fundamentals
3938
- :ref:`csharp-atlas-search`
4039
- :ref:`csharp-stable-api`
4140
- :ref:`csharp-authentication-mechanisms`
42-
- :ref:`csharp-enterprise-authentication-mechanisms`
4341
- :ref:`csharp-aggregation`
4442
- :ref:`csharp-linq`
4543
- :ref:`csharp-bson`
@@ -51,4 +49,4 @@ Fundamentals
5149
- :ref:`csharp-time-series`
5250
- :ref:`Encrypt Fields <csharp-fle>`
5351
- :ref:`csharp-geo`
54-
- :ref:`csharp-read-write-config`
52+
- :ref:`csharp-read-write-config`

0 commit comments

Comments
 (0)