Skip to content

Commit

Permalink
Authentication refactor (mongodb#284) (mongodb#325) (mongodb#326) (mo…
Browse files Browse the repository at this point in the history
…ngodb#327)

Co-authored-by: Rea Rustagi <85902999+rustagir@users.noreply.github.com>
(cherry picked from commit 6f96497)
(cherry picked from commit f3eb7fc)
  • Loading branch information
mongoKart committed Nov 27, 2024
1 parent 909acff commit 4f570bc
Show file tree
Hide file tree
Showing 15 changed files with 893 additions and 695 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/check-autobuilder.yml

This file was deleted.

3 changes: 3 additions & 0 deletions config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ raw: ${prefix}/stable -> ${base}/current/
[*-master]: ${prefix}/${version}/fundamentals/data-formats/poco/ -> ${base}/${version}/fundamentals/serialization/poco/
[*-master]: ${prefix}/${version}/fundamentals/data-formats/polymorphism/ -> ${base}/${version}/fundamentals/serialization/polymorphic-objects/
[*-master]: ${prefix}/${version}/fundamentals/class-mapping/ -> ${base}/${version}/fundamentals/serialization/class-mapping/
[*-v2.30]: ${prefix}/${version}/upgrade/v2/ -> ${base}/${version}/upgrade/
[*-v2.30]: ${prefix}/${version}/upgrade/v3/ -> ${base}/${version}/upgrade/
[v3.0-*]: ${prefix}/${version}/fundamentals/enterprise-authentication/ -> ${base}/${version}/fundamentals/authentication/
4 changes: 3 additions & 1 deletion snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ toc_landing_pages = [
"/usage-examples",
"/fundamentals",
"/fundamentals/serialization",
"/fundamentals/authentication",
"/upgrade",
"/fundamentals/database-collection"
"/fundamentals/database-collection",
]

intersphinx = [
Expand Down Expand Up @@ -42,3 +43,4 @@ int-data-type = "``integer``"
not-available = "N/A"
analyzer = "MongoDB C# Analyzer"
analyzer-short = "C# Analzyer"
mdb-server = "MongoDB server"
23 changes: 1 addition & 22 deletions source/connection-troubleshooting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,28 +182,7 @@ the same machine doesn't require any authorization to connect.
X.509 Credential Error
~~~~~~~~~~~~~~~~~~~~~~

If you are using Windows as your operating system, you might encounter an issue in which the
{+driver-short+} is unable to locate an ``X.509`` authentication certificate in memory.
This error is raised with the following error message:

.. code-block:: none
:copyable: false

No credentials are available in the security package

The following section describes a method that may help resolve the issue.

Create and Store the Certificate On-Disk
----------------------------------------

Use the following code to generate any ``X.509`` certificates required by your application:

.. code-block:: csharp

using (X509Certificate2 certWithKey = certOnly.CopyWithPrivateKey(key))
{
return new X509Certificate2(certWithKey.Export(X509ContentType.Pkcs12));
}
.. include:: /includes/troubleshooting/x509.rst

Error Sending Message
~~~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 1 addition & 3 deletions source/fundamentals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Fundamentals
Atlas Search </fundamentals/atlas-search>
Stable API </fundamentals/stable-api>
Authentication </fundamentals/authentication>
Enterprise Authentication </fundamentals/enterprise-authentication>
Aggregation </fundamentals/aggregation>
LINQ </fundamentals/linq>
BSON Operations </fundamentals/bson>
Expand All @@ -39,7 +38,6 @@ Fundamentals
- :ref:`csharp-atlas-search`
- :ref:`csharp-stable-api`
- :ref:`csharp-authentication-mechanisms`
- :ref:`csharp-enterprise-authentication-mechanisms`
- :ref:`csharp-aggregation`
- :ref:`csharp-linq`
- :ref:`csharp-bson`
Expand All @@ -51,4 +49,4 @@ Fundamentals
- :ref:`csharp-time-series`
- :ref:`Encrypt Fields <csharp-fle>`
- :ref:`csharp-geo`
- :ref:`csharp-read-write-config`
- :ref:`csharp-read-write-config`
Loading

0 comments on commit 4f570bc

Please sign in to comment.