'Replication of files (with credentials) across servers that are behind load balancer

There are a few servers behind AWS load balancer. I want to find a way to replicate certain directories that may contain credentials across the four servers.

In my application, once I add the build to a server, it stores the files in directories - since it has credentials I am not sure if I can use git to sync the files across servers.

Trying to figure out the best way to replicate the directories across multiple servers and keep things in sync.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source