Docs Home / Compass / Interact with Your Data / Manage Collections

Create a Collection with Queryable Encryption

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

Limitations

  • 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.

Procedure

1

Click the Create Collection button.

From the Collections screen, click the Create Collection button.

2

Enter the collection name.

3

Click the Additional preferences dropdown.

Check the Queryable Encryption option.

4

Specify an Encrypted Field.

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

Click Create Collection to create the collection.

Your collection will be marked by a Queryable Encryption badge.