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

Investigate changes in SERVER-43005: getKeyVault.createKey() should return the created data key

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.1
    • Component/s: manual
    • Labels:
      None

      Description

      Description

      Downstream Change Summary

      Changes noted in the description.

      Description of Linked Ticket

      In 4.2.0, the getKeyVault.createKey() method returns a WriteResult instead of the created key. This requires users to do one of two things:

      • Search by key alternate name for the created key, or
      • Search all keys in reverse creation order for the most recently created key

      As noted in the spec document, data key creation methods should return at least the _id of the created document.

      The 4.2 shell should either return the _id of the created data key per-spec.

       

      Relevant code here

       

      cc Shreyas Kalyan

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ravind.kumar Ravind Kumar (Inactive)
              Reporter:
              backlog-server-pm Backlog - DB Eng Program Management Team
              Participants:
              Last commenter:
              Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                41 weeks, 3 days ago
                Date of 1st Reply: