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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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