Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-544

Improve mongo.getClientEncryption() error message

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.8.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • Iteration Uglifruit
    • Not Needed

      Enterprise > x.getClientEncryption()
      TypeError: Missing required option `keyVaultNamespace`
      Enterprise > x.getClientEncryption(

      { keyVaultNamespace: 'encryption.__keyVault' }

      )
      TypeError: Missing required option `keyVaultNamespace

      I was confused by this. We should provide a better error message for calling .getClientEncryption() on Mongo objects without FLE.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: