We removed most of the component-specific configs out of cmd a long time ago. We left CAConfig in, because it is used directly in the NewCertificateAuthority constructor. That means that moving CAConfig into cmd/boulder-ca would have resulted in a circular dependency. Eventually we probably want to decompose CAConfig so it's a set of arguments to NewCertificateAuthority, but as a short term improvement, move the config into its own package to break the dependency. This has the advantage of removing a couple of big dependencies from cmd. |
||
|---|---|---|
| .. | ||
| config.go | ||