Docs HomeMongoDB Manual

Tutorials教程

Queryable Encryption with equality queries is generally available (GA) in MongoDB 7.0 and later. 具有相等查询的可查询加密在MongoDB 7.0及更高版本中通常可用(GA)。The Queryable Encryption Public Preview, released in version 6.0, is no longer supported. Data encrypted using the Public Preview is incompatible with the feature release. 不再支持6.0版本中发布的“可查询加密预览”。使用公共预览加密的数据与功能版本不兼容。For more information, see Compatibility Changes in MongoDB 7.0.有关更多信息,请参阅MongoDB 7.0中的兼容性更改

Read the following pages to learn how to use Queryable Encryption with your preferred Key Management Service provider:阅读以下页面,了解如何与您首选的键管理服务提供商一起使用Queryable Encryption:

AWS
Use Automatic Queryable Encryption with AWS使用AWS的自动可查询加密
Azure
Use Automatic Queryable Encryption with Azure使用Azure的自动可查询加密
GCP
Use Automatic Queryable Encryption with GCP在GCP中使用自动可查询加密
Any KMIP-Compliant Key Provider任何符合KMIP的键提供程序
Use Automatic Queryable Encryption with KMIP使用KMIP的自动可查询加密

To learn how to use Queryable Encryption with a local key (not for production), see the Quick Start.要了解如何使用本地键的可查询加密(不适用于生产),请参阅快速入门

To learn how to use explicit encryption with Queryable Encryption, read Use Explicit Encryption.要了解如何将显式加密与可查询加密一起使用,请阅读使用显式加密

Each tutorial provides a sample application in multiple languages for each supported Key Management System provider. See the table below for quick access to all sample applications.每个教程都为每个受支持的键管理系统提供了一个多语言的示例应用程序。请参阅下表以快速访问所有示例应用程序。

Code samples for specific language drivers:特定语言驱动程序的代码示例: