provisioners

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Store

func Store(namespacedName types.NamespacedName, provisioner *Step)

Store adds a new provisioner to the collection by NamespacedName.

Types

type Step

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

Step implements a Step JWK provisioners in charge of signing certificate requests using step certificates.

func Load

func Load(namespacedName types.NamespacedName) (*Step, bool)

Load returns a Step provisioner by NamespacedName.

func NewFromStepClusterIssuer added in v0.5.0

func NewFromStepClusterIssuer(iss *api.StepClusterIssuer, password []byte) (*Step, error)

func NewFromStepIssuer added in v0.5.0

func NewFromStepIssuer(iss *api.StepIssuer, password []byte) (*Step, error)

NewFromStepIssuer returns a new Step provisioner, configured with the information in the given issuer.

func (*Step) Sign

func (s *Step) Sign(_ context.Context, cr *certmanager.CertificateRequest) ([]byte, []byte, error)

Sign sends the certificate requests to the Step CA and returns the signed certificate.

Jump to

Keyboard shortcuts

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