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

SYNOPSIS

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

PARAMETERS

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

RETURNS

46       Returns true if successful. Returns false and sets error otherwise.
47
48       SEE ALSO:
49          mongoc_client_encryption_rewrap_many_datakey_result_t
50
51

AUTHOR

53       MongoDB, Inc
54
56       2017-present, MongoDB, Inc
57
58
59
60
611.25.1                         MONNoGvOC0_8C,LI2E0N2T3_ENCRYPTION_REWRAP_MANY_DATAKEY(3)
Impressum