ANNOUNCEMENT: Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.
Learn more
Docs Menu

Create a Collection with Queryable Encryption

Queryable Encryption allows you to encrypt a subset of fields in your collection.

  • Your deployment must be connected using In-Use Encryption to encrypt your collection using Queryable Encryption.

  • Custom collation is the only Advanced Collection Option that you can use with Queryable Encryption.

1

From the Collections screen, click the Create Collection button.

2
3

Check the Queryable Encryption option.

4

Specify which fields should be encrypted and whether they should be queryable.

The following fields must be used if no existing keyId was specified for at least one encrypted field, and have no effect otherwise:

5

Your collection will be marked by a Queryable Encryption badge.