Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
agoston authored Jan 26, 2021
1 parent 6108f77 commit dd4f094
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ mongodb.encrypt:

to override which version of the defined keys is considered 'default'.

## Caveats

Keep in mind that this library hooks into spring-data's serialization/deserialization only. As such, any operation that bypasses this, for example `findAndModify()` or direct mongo driver accesses (`mongoTemplate.getCollection()`), will not do any encryption/decryption. You can either find another way to achieve your goal via spring-data, or you will have to do the encryption/decryption manually. See the next paragraph for examples.

## Encrypt other data

Expand Down

0 comments on commit dd4f094

Please sign in to comment.