Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5261

Update mongo-client-encryption readme to mention cryptSharedLibPath

    • 2
    • 1
    • Not Needed
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a... user of the mongo-client-encryption package
      I want... up to date docs on how to use the encryption module
      So that... I can take advantage of the newest features

      User Impact

      • Anyone using the encryption package

      Dependencies

      • None

      Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • Update the README to include cryptSharedLibPath wherever applicable
        • js doc comments, ts doc comments, cross-reference the driver types as well

      Example:

      const { MongoClient } = require("mongodb");
      const { ClientEncryption } = require("mongodb-client-encryption");
        ...
      const encOptions = {
         'keyVaultNamespace': `${keystoreDB}.${keystoreCollection}`,
         'kmsProviders': { 'local': localKey },
         'extraOptions': { 'cryptSharedLibPath': cryptSharedPath },
      }
      
      clientEncrypted = new MongoClient( uri, { 'autoEncryption': encOptions } );
      await clientEncrypted.connect();
      

      Testing Requirements

      • N/A

      Documentation Requirements

      • N/A - this is a documentation task

      Follow Up Requirements

      • None

            Assignee:
            warren.james@mongodb.com Warren James
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: