cloudflare / certmgr

Automated certificate management using a CFSSL CA.
BSD 2-Clause "Simplified" License
218 stars 40 forks source link

Allow storing auth_key in a file via auth_key_file configurable. #42

Closed ferringb closed 6 years ago

ferringb commented 6 years ago

If you're managing certmgr definitions via a SCM, you want to see the diff for how one of these files changed; however, you don't want to expose the auth key via that diff.

Thus add an option to allow reading the auth_key from a file. That file you tell your SCM to not show changes in, but for certmgr definitions that consume it, using auth_key_file allows you to again show those diffs.