[SERVER-43005] getKeyVault.createKey() should return the created data key Created: 23/Aug/19 Updated: 29/Oct/23 Resolved: 27/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 4.2.0 |
| Fix Version/s: | 4.2.1, 4.3.1 |
| Type: | Improvement | Priority: | Critical - P2 |
| Reporter: | Ravind Kumar (Inactive) | Assignee: | Shreyas Kalyan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||
| Sprint: | Security 2019-09-09 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
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:
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.
|
| Comments |
| Comment by Ravind Kumar (Inactive) [ 20/Sep/19 ] |
|
shreyas.kalyan can you set the downstreamchanges for docs, so our Jira trigger creates the appropriate ticket? |
| Comment by Githook User [ 16/Sep/19 ] |
|
Author: {'name': 'Shreyas Kalyan', 'username': 'shreyaskal', 'email': 'shreyas.kalyan@mongodb.com'}Message: (cherry picked from commit a605bfb8b3ecdff282508263b119f1fcfd13f27e) |
| Comment by Githook User [ 16/Sep/19 ] |
|
Author: {'username': 'shreyaskal', 'email': 'shreyas.kalyan@mongodb.com', 'name': 'Shreyas Kalyan'}Message: (cherry picked from commit b4b3e242629f73b44b36689f1ed318965419b2eb) |
| Comment by Githook User [ 27/Aug/19 ] |
|
Author: {'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}Message: |
| Comment by Githook User [ 27/Aug/19 ] |
|
Author: {'username': 'shreyaskalyan', 'email': 'shreyas.kalyan@10gen.com', 'name': 'Shreyas Kalyan'}Message: |