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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public RewrapManyDataKeyOptions With(
	Optional<BsonDocument> masterKey = null,
	Optional<string> provider = null
)

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