1MONGOC_CLIENT_ENCRYPTION_REWRAP_MMOANNGYlO_iCDb_AmCToLAnIKgEEoNYcT(_3E)NCRYPTION_REWRAP_MANY_DATAKEY(3)
2
3
4

NAME

6       mongoc_client_encryption_rewrap_many_datakey   -  mongoc_client_encryp‐
7       tion_rewrap_many_datakey()
8

SYNOPSIS

10          bool
11          mongoc_client_encryption_rewrap_many_datakey (
12             mongoc_client_encryption_t *client_encryption,
13             const bson_t *filter,
14             const char *provider,
15             const bson_t *master_key,
16             mongoc_client_encryption_rewrap_many_datakey_result_t *result,
17             bson_error_t *error);
18
19       Rewraps zero or more data keys in the key vault collection  that  match
20       the provided filter.
21
22       A  NULL argument for filter is equivalent to being given an empty docu‐
23       ment (match all).
24
25       If provider is NULL, rewraps matching data keys with their current  KMS
26       provider and master key.
27
28       If  provider  is  not NULL, rewraps matching data keys with the new KMS
29       provider as described by master_key. The master_key document must  con‐
30       form to the Client Side Encryption specification.
31

PARAMETERS

33client_encryption: A mongoc_client_encryption_t.
34
35filter: The filter to use when finding data keys to rewrap in the key
36         vault collection.
37
38provider: The new KMS provider to use to encrypt the  data  keys,  or
39         NULL to use the current KMS provider(s).
40
41master_key:  The  master  key  fields  corresponding  to  the new KMS
42         provider when provider is not NULL.
43
44result:                          An                          optional
45         mongoc_client_encryption_rewrap_many_datakey_result_t.
46
47error: A bson_error_t set on failure.
48

RETURNS

50       Returns true if successful. Returns false and sets error otherwise.
51
52       SEE ALSO:
53          mongoc_client_encryption_rewrap_many_datakey_result_t
54
55

AUTHOR

57       MongoDB, Inc
58
60       2017-present, MongoDB, Inc
61
62
63
64
651.24.3                         MOANuGgOC1_7C,LI2E0N2T3_ENCRYPTION_REWRAP_MANY_DATAKEY(3)
Impressum