AutoEncryptionOptions.ToString() serializes the full kmsProviders map with values included, so KMS credentials and the local master key appear verbatim in MongoClientSettings.ToString() and in anything that logs it. The same method already redacts TLS options as <hidden>, so apply that pattern to kmsProviders.
Affects both 3.x and 2.x
- related to
-
CSHARP-6164 KMS master key exposure via unredacted credential serialization in driver settings string
-
- Closed
-