Skip to content

This is a simple Spring Boot POC in which we try to understand how to use MongoDB cascading features provided by Spring Boot, to encrypt data before saving to MongoDB and decrypting it after fetching from MongoDB.

License

contactsunny/MongoDBSpringBootEncryptionDecryptionPOC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB Encryption and Decryption with Spring Boot

This is a simple Spring Boot POC in which we try to understand how to use MongoDB cascading features provided by Spring Boot, to encrypt data before saving to MongoDB and decrypting it after fetching from MongoDB.

Configuration

Change MongoDB connection configuration in the resources/application.properties file. The property is spring.data.mongodb.uri. An example:

spring.data.mongodb.uri=mongodb://localhost:27017/test

About

This is a simple Spring Boot POC in which we try to understand how to use MongoDB cascading features provided by Spring Boot, to encrypt data before saving to MongoDB and decrypting it after fetching from MongoDB.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages