mint-credentials

command
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL