Interface ClientEncryptionEncryptOptions

Options to provide when encrypting data.


  • ClientEncryptionEncryptOptions


algorithm: "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic" | "AEAD_AES_256_CBC_HMAC_SHA_512-Random" | "Indexed" | "Unindexed" | "RangePreview"

The algorithm to use for encryption.

contentionFactor?: number | bigint

The contention factor.

keyAltName?: string

A unique string name corresponding to an already existing dataKey.

keyId?: Binary

The id of the Binary dataKey to use for encryption

queryType?: "equality" | "rangePreview"

The query type supported. Only the queryType equality is stable.

Public Technical Preview: The queryType rangePreview is experimental.

rangeOptions?: RangeOptions

Public Technical Preview: The index options for a Queryable Encryption field supporting "rangePreview" queries.

Generated using TypeDoc