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

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

    XMLWordPrintable

Details

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

    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
            Kailie Yuan Kailie Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 12 weeks, 6 days ago