Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintKubeSecret ¶ added in v0.0.8
func PrintKubeSecret(w io.Writer, c Certificate) error
PrintKubeSecret ouputs Certificate in kubernetes YAML
Types ¶
type Certificate ¶
type Certificate struct { PrivateKey *rsa.PrivateKey RequestTemplate x509.CertificateRequest PrivateKeyString string CaCert string CertificateRequest string Result string ResultURL string }
Certificate contains a x509 certificate
func GenerateCertFromCsr ¶ added in v0.0.11
func GenerateCertFromCsr(s Server, c Certificate) (Certificate, error)
GenerateCertFromCsr takes a CSR and returns a signed cert
Click to show internal directories.
Click to hide internal directories.