#include <mongocxx/v_noabi/mongocxx/options/rewrap_many_datakey.hpp>
◆ rewrap_many_datakey() [1/2]
◆ rewrap_many_datakey() [2/2]
◆ master_key() [1/2]
Get the masterKey option.
The masterKey document MUST have the fields corresponding to the given provider as specified in masterKey. masterKey MUST NOT be given if it is not applicable for the given provider.
- Returns
- A reference to this object to facilitate method chaining.
- See also
-
◆ master_key() [2/2]
Set the masterKey option.
The masterKey document MUST have the fields corresponding to the given provider as specified in masterKey. masterKey MUST NOT be given if it is not applicable for the given provider.
- Parameters
-
| master_key | A document of the master key. |
- Returns
- A reference to this object to facilitate method chaining.
- See also
-
◆ operator v1::rewrap_many_datakey_options()
◆ provider() [1/2]
Get the KMS provider.
A KMS provider (AWS KMS, Azure Key Vault, GCP KMS, the local provider, or KMIP) is used to decrypt data keys after fetching from the MongoDB Key Vault, and encrypt newly created data keys.
- Returns
- An optional string name of the provider.
- See also
-
◆ provider() [2/2]
Set the optional KMS provider use to encrypt the data keys. Do not set to use the current KMS provider(s).
A KMS provider (AWS KMS, Azure Key Vault, GCP KMS, the local provider, or KMIP) is used to decrypt data keys after fetching from the MongoDB Key Vault, and encrypt newly created data keys.
- Parameters
-
| provider | String name of the provider. |
- Returns
- An optional document containing the TLS options.
- See also
-
The documentation for this class was generated from the following file: