Documentation
¶
Overview ¶
Command mint-credentials writes a throwaway CA and the certificates the local examples need.
It stands in for the thing a real deployment already has: an internal CA under -profile pki, a SPIFFE issuer under -profile spiffe. Neither is something purser provides — cert-manager and SPIRE do that, and the Kubernetes manifests under examples/k8s use them. This exists so the local cells need no infrastructure at all.
Three identities are minted, not two. The third is the one that must be turned away: under -profile pki it carries a different organizational unit, under -profile spiffe a different SPIFFE ID. A demonstration where every credential works shows only that TLS is on.
The keys it writes are disposable and last an hour. Nothing here belongs anywhere near a real deployment, and nothing it writes should be committed.