Skip to content

Has anyone used a templating system with git-crypt? #259

Answered by alerque
qubitz asked this question in Q&A
Discussion options

You must be logged in to vote

Some/many YAML based configuration files have support for some sort of import command or can load multiple YAML files. Look into that first because it makes it easy to split secrets in one file and everything else in others and just load them all.

Beyond that, almost any templating or macro language could handle this. The correct answer for your use case probably depends more on your build / deploy system than anything else. Even m4 could be used, but hes of course handlebars or mustache or tera or any of a host of others would work. Use what's easy to run and have on hand in your build/deploy system.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by qubitz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants