-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: Client Side Encryption
This ticket was split from DRIVERS-2781, please see that ticket for a detailed description.
Use Case
As a developer
I want to be able to configure the DEK cache storage time
So that I can limit the number of KMS requests
User Experience
- User can configure the timeout of the decrypted DEK key.
Dependencies
- Depends on libmongocrypt 1.12
Risks/Unknowns
- None
Acceptance Criteria
Implementation Requirements
- Add the keyExpirationMS option to the bindings and encryption options TS in mongodb-client-encryption.
- Expose keyExpirationMS option in the driver for auto encryption options and client encryption options.
- Update libmongocrypt dependency in mongodb-client-encryption to latest (1.14.0) (see
NODE-6841) - Update the mongodb-client-encryption dependency in the driver to the latest release.
Testing Requirements
- Update driver legacy and unified tests for client encryption for the following commits:
- https://github.com/mongodb/specifications/commit/ecce2eccf0e6f3b41dff3bf0e57e2350f7517340
- https://github.com/mongodb/specifications/commit/787bbe67bdffb614270654372112e93fc2cd3eb3
Documentation Requirements
- Add API docs for the new timeout option.
Follow Up Requirements
- None
- has to be finished together with
-
NODE-6841 Release mongodb-client-encryption with libmongocrypt 1.14
-
- Closed
-
- split from
-
DRIVERS-2781 Add option to configure DEK cache lifetime
-
- Implementing
-
There are no Sub-Tasks for this issue.