Click or drag to resize

RewrapManyDataKeyOptionsWith Method

Returns a new DataKeyOptions instance with some settings changed.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax
public RewrapManyDataKeyOptions With(
	Optional<BsonDocument> masterKey = default,
	Optional<string> provider = default
)

Parameters

masterKey (Optional)
Type: MongoDB.DriverOptionalBsonDocument
The master key.
provider (Optional)
Type: MongoDB.DriverOptionalString
The provider name.

Return Value

Type: RewrapManyDataKeyOptions
A new DataKeyOptions instance.
See Also