stepcas

package
v0.17.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StepCAS

type StepCAS struct {
	// contains filtered or unexported fields
}

StepCAS implements the cas.CertificateAuthorityService interface using another step-ca instance.

func New

func New(ctx context.Context, opts apiv1.Options) (*StepCAS, error)

New creates a new CertificateAuthorityService implementation using another step-ca instance.

func (*StepCAS) CreateCertificate

CreateCertificate uses the step-ca sign request with the configured provisioner to get a new certificate from the certificate authority.

func (*StepCAS) GetCertificateAuthority

GetCertificateAuthority returns the root certificate of the certificate authority using the configured fingerprint.

func (*StepCAS) RenewCertificate

RenewCertificate will always return a non-implemented error as mTLS renewals are not supported yet.

func (*StepCAS) RevokeCertificate

RevokeCertificate revokes a certificate.

Jump to

Keyboard shortcuts

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