Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_CLIENT_...P_MANY_DATAKEY(3) libmongocMONGOC_CLIENT_...P_MANY_DATAKEY(3)

SYNOPSIS
	  bool
	  mongoc_client_encryption_rewrap_many_datakey (
	     mongoc_client_encryption_t	*client_encryption,
	     const bson_t *filter,
	     const char	*provider,
	     const bson_t *master_key,
	     mongoc_client_encryption_rewrap_many_datakey_result_t *result,
	     bson_error_t *error);

       Rewraps	zero  or more data keys	in the key vault collection that match
       the provided filter.

       A NULL argument for filter is equivalent	to being given an empty	 docu-
       ment (match all).

       If  provider is NULL, rewraps matching data keys	with their current KMS
       provider	and master key.

       If provider is not NULL,	rewraps	matching data keys with	 the  new  KMS
       provider	 as described by master_key. The master_key document must con-
       form to the Client Side Encryption specification.

PARAMETERS
        client_encryption: A mongoc_client_encryption_t.

        filter: The filter to use when	finding	data keys to rewrap in the key
	 vault collection.

        provider: The new KMS provider	to use to encrypt the  data  keys,  or
	 NULL to use the current KMS provider(s).

        master_key:  The  master  key	fields	corresponding  to  the new KMS
	 provider when provider	is not NULL.

        result:			  An			      optional
	 mongoc_client_encryption_rewrap_many_datakey_result_t.

        error:	A bson_error_t set on failure.

RETURNS
       Returns true if successful. Returns false and sets error	otherwise.

       SEE ALSO:
	  mongoc_client_encryption_rewrap_many_datakey_result_t

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 202MONGOC_CLIENT_...P_MANY_DATAKEY(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_client_encryption_rewrap_many_datakey&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help