[DOCS-12689] Docs for SERVER-39896: Write shell JS API for explicitly encrypting and decrypting data Created: 08/May/19  Updated: 13/Nov/23  Resolved: 08/Jul/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.11, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: docs-4.2-client-side-encryption, docs-fle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-39896 Write shell JS API for explicitly enc... Closed
Duplicate
Participants:
Days since reply: 4 years, 31 weeks, 2 days ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

Included the encrypt() and decrypt() functions outlined in the shell scope

Engineering Ticket Description:

Including reading and writing encrypted payload format (see Bindata SubType 6 document)

This should be done by extending and deriving from DBClientBase a new class that implements encrypt, decrypt, and generateDataKey. The Mongo object in Javascript is just an adapter for DBClientBase so deriving a new class from it that maintains the KMS information would be the least intrusive.

API:

    encrypt(algorithm: string, keyId: UUID, iv? : byte[]) : BinData {}
    decrypt(value: BinData) : BSON {}

Scope of changes

Impact to Other Docs

MVP (Work and Date)

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



 Comments   
Comment by Ravind Kumar (Inactive) [ 08/Jul/19 ]

Folding this into DOCS-12715

Generated at Thu Feb 08 08:05:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.