-
Notifications
You must be signed in to change notification settings - Fork 455
CDRIVER-5644 Add option to configure DEK cache lifetime #1779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d762bf7
allow extra skipped events
adriandole b819838
keyCache json test
adriandole ac395ad
set option in auto encryption and client encryption
adriandole 8f5cf7f
set options in JSON
adriandole 134dec7
use wait event
adriandole 5bf2b63
Implement unified test wait operation
adriandole 6cab18d
clientEncryption test
adriandole d4ba4d2
don't use named KMS
adriandole 99c2703
spec sync
adriandole e3f909c
set time as uint64
adriandole acdc927
docs
adriandole c25c856
spec sync
adriandole b948894
iter as int64
adriandole 2952bd1
schema 1.22 support
adriandole c53b793
error on key expiration < 0
adriandole 566fb88
toctree
adriandole b803b46
Merge branch 'master' into key-cache
adriandole a345e1e
Update src/libmongoc/tests/unified/runner.c
adriandole File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
src/libmongoc/doc/mongoc_auto_encryption_opts_set_key_expiration.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
:man_page: mongoc_auto_encryption_opts_set_key_expiration | ||
|
||
mongoc_auto_encryption_opts_set_key_expiration() | ||
======================================================== | ||
|
||
Synopsis | ||
-------- | ||
|
||
.. code-block:: c | ||
|
||
void | ||
mongoc_auto_encryption_opts_set_key_expiration ( | ||
mongoc_auto_encryption_opts_t *opts, uint64_t cache_expiration_ms); | ||
|
||
|
||
Parameters | ||
---------- | ||
|
||
* ``opts``: The :symbol:`mongoc_auto_encryption_opts_t` | ||
* ``cache_expiration_ms``: The data encryption key cache expiration time in milliseconds. | ||
|
||
.. seealso:: | ||
|
||
| :symbol:`mongoc_client_enable_auto_encryption()` | ||
|
||
| `In-Use Encryption <in-use-encryption_>`_ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/libmongoc/doc/mongoc_client_encryption_opts_set_key_expiration.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
:man_page: mongoc_client_encryption_opts_set_key_expiration | ||
adriandole marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
mongoc_client_encryption_opts_set_key_expiration() | ||
======================================================== | ||
|
||
Synopsis | ||
-------- | ||
|
||
.. code-block:: c | ||
|
||
void | ||
mongoc_client_encryption_opts_set_key_expiration ( | ||
mongoc_client_encryption_opts_t *opts, uint64_t cache_expiration_ms); | ||
|
||
|
||
Parameters | ||
---------- | ||
|
||
* ``opts``: The :symbol:`mongoc_client_encryption_opts_t` | ||
* ``cache_expiration_ms``: The data encryption key cache expiration time in milliseconds. | ||
|
||
.. seealso:: | ||
|
||
| :symbol:`mongoc_client_encryption_new()` | ||
|
||
| `In-Use Encryption <in-use-encryption_>`_ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.