Documentation ¶
Index ¶
Constants ¶
View Source
const (
// CRControllerName is the name of Vault certificate requests controller.
CRControllerName = "certificaterequests-issuer-vault"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
Vault is a Vault-specific implementation of pkg/controller/certificaterequests.Issuer interface.
func NewVault ¶
func NewVault(ctx *controllerpkg.Context) *Vault
NewVault returns a new Vault instance with the given controller context.
func (*Vault) Sign ¶
func (v *Vault) Sign(ctx context.Context, cr *v1.CertificateRequest, issuerObj v1.GenericIssuer) (*issuer.IssueResponse, error)
Sign will connect to Vault server associated with the provided issuer to sign the X.509 certificate from the Certificate Request.
Click to show internal directories.
Click to hide internal directories.