Which certificate storage backend should I use — local filesystem, Azure Key Vault, AWS Secrets Manager, HashiCorp Vault, or Infisical? #185
-
|
CertMate offers five storage backends. The default is the local filesystem. The other four put certificates into a managed secret store. When is each the right choice, and what are the tradeoffs I should care about before committing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Five backends, three decision axes: operational simplicity, multi-host accessibility, and integration with downstream consumers. The defaults are deliberate: most CertMate deployments are happy on local filesystem. Switch only when one of the axes pulls you off it. Local Filesystem (default). Certificates live under
Azure Key Vault. Certs go into a configured Key Vault. Two modes: secret mode (the PEM is stored as a Key Vault Secret) and certificate-object mode (added in PR #118 — the cert is stored as a managed Key Vault Certificate, which is what AKS Key Vault Reference and several Azure-native consumers expect).
AWS Secrets Manager. PEM bundles stored as
HashiCorp Vault. KV-v2 secret engine, one secret per domain under your chosen path. Token-based auth out of the box, AppRole if you give CertMate a static role.
Infisical. Secret-management SaaS. Similar story to Vault but managed.
Switching between backends. Backends are configured in Settings → Storage Backend. Switching is not a migration — CertMate will start writing new certs to the new backend, but existing certs already on the old backend stay where they are. Issue and consume happen on the new backend; renewals of certs created under the old backend may need to be re-issued explicitly. For a one-time migration, the safest path is: list certs, force-renew each one under the new backend, verify, then clean up the old backend. Fallback. If a configured cloud backend is unreachable at startup (network, credentials), CertMate logs the error and falls back to local filesystem rather than refusing to start ( |
Beta Was this translation helpful? Give feedback.
Five backends, three decision axes: operational simplicity, multi-host accessibility, and integration with downstream consumers. The defaults are deliberate: most CertMate deployments are happy on local filesystem. Switch only when one of the axes pulls you off it.
Local Filesystem (default). Certificates live under
data/certs/<domain>/(Q8). Zero new dependencies. The container is the source of truth. The same volume mount that protects your settings (Q2) protects your certs.