I had configured the MongoDB data at rest encryption to my replica set using the Local Key Management method in as given in https://docs.mongodb.com/manual/