[SERVER-39895] Write shell JS API for interacting with key vault Created: 28/Feb/19  Updated: 29/Oct/23  Resolved: 02/Apr/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.10

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Shreyas Kalyan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-12595 Docs for SERVER-39895: Write shell JS... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2019-03-25, Security 2019-04-08
Participants:

 Description   

Write JS API to generate KMS keys, add/remove alt names, query keys, and delete keys

Proposed API:

class KeyStore {
    createKey(keyAltName : string[]) : any {}
    getKey(keyId : UUID) : any {}
    deleteKey(keyId : UUID) : void {}
    getKeys() : any[] {}
    addKeyAlternateName(keyId : UUID, keyAltName : string) : any {}
    removeKeyAlternateName(keyId : UUID, keyAltName : string) : any {}
};



 Comments   
Comment by Githook User [ 02/Apr/19 ]

Author:

{'email': 'shreyas.kalyan@10gen.com', 'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan'}

Message: SERVER-39895 Fix lint
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/57d5154be89064cf7ae59046e4d700bee21f01b1

Comment by Githook User [ 02/Apr/19 ]

Author:

{'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan', 'email': 'shreyas.kalyan@10gen.com'}

Message: SERVER-39895 Write shell JS API for interacting with key vault
Branch: master
https://github.com/mongodb/mongo/commit/e7a81ebd0c7ca4491140eab2909ac60023628632

Comment by Githook User [ 02/Apr/19 ]

Author:

{'email': 'shreyas.kalyan@10gen.com', 'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan'}

Message: SERVER-39895 Write shell JS API for interacting with key vault
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/49ddafe05f6741ad7c3519b492e7990f8c838ec5

Generated at Thu Feb 08 04:53:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.