Chef - How to store encrypted data bags in Git?

Viewed 906

We keep everything in source control using Github, therefore our cookbook, environment and roles are worked on locally and then uploaded using from file and upload where appropriate. I understand encrypted data bags are encrypted on the server, but how can we keep them encrypted in Git?

2 Answers
Related