Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVenafi ¶
func NewVenafi(ctx *controller.Context, issuer cmapi.GenericIssuer) (issuer.Interface, error)
Types ¶
type Venafi ¶
type Venafi struct { *controller.Context // contains filtered or unexported fields }
Venafi is a implementation of govcert library to manager certificates from TPP or Venafi Cloud
func (*Venafi) Issue ¶
func (v *Venafi) Issue(ctx context.Context, crt *v1alpha1.Certificate) (*issuer.IssueResponse, error)
Issue will attempt to issue a new certificate from the Venafi Issuer. The control flow is as follows: - Attempt to retrieve the existing private key
- If it does not exist, generate one
- Generate a certificate template - Read the zone configuration from the Venafi server - Create a Venafi request based on the certificate template - Set defaults on the request based on the zone - Validate the request against the zone - Submit the request - Wait for the request to be fulfilled and the certificate to be available
Click to show internal directories.
Click to hide internal directories.