venafi

package
v0.8.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

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

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

func (*Venafi) Setup

func (v *Venafi) Setup(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL