Documentation ¶
Overview ¶
Package vault provides adapter to connect to vault server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunProtoTypeSignCsrFlow ¶
func RunProtoTypeSignCsrFlow() error
RunProtoTypeSignCsrFlow runs a prototyping signCsr flow, includes: - Create a connection to Vault - Mount Vault PKI - Set CA signing key and cert - Set workload role for issuing certificates - Sign CSR and print the certificate signed
Types ¶
type CA ¶
type CA struct { }
CA connects to Vault to sign certificates.
func (*CA) GetKeyCertBundle ¶
func (v *CA) GetKeyCertBundle() util.KeyCertBundle
GetKeyCertBundle returns the KeyCertBundle for the CA.
Click to show internal directories.
Click to hide internal directories.