Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePKIAssets ¶
func CreatePKIAssets(pkiPath string, cfg *Configuration) (*rsa.PrivateKey, *x509.Certificate, error)
CreatePKIAssets will create and write to disk all PKI assets necessary to establish the control plane. It first generates a self-signed CA certificate, a server certificate (signed by the CA) and a key for signing service account tokens. It returns CA key and certificate, which is convenient for use with client config funcs.
Types ¶
type Configuration ¶
Click to show internal directories.
Click to hide internal directories.