Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14648

CSFLE: Make code sample templates more clear that a substitution is needed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Done
    • None
    • None
    • drivers
    • None
    • 2
    • DET: Cybertruck - Sprint 2, DET: Sienna - Sprint 3

    Description

      In the following article it was found that some users fail to correctly substitute values in the code sample templates. For example:

      // We have 
      providerDetails.put("privateKey", new BsonString("<GCP service account private key>"));
      // User used
      providerDetails.put("privateKey", new BsonString("<GCP $privateKey>"));
      // Instead of
      providerDetails.put("privateKey", new BsonString("$privateKey"));
      

      Can we consider make it more clear what sort of substitution is needed?

      Attachments

        Activity

          People

            kailie.yuan@mongodb.com Kailie Yuan
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Jess Mokrzecki Jess Mokrzecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 39 weeks, 3 days ago