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.
Click to show internal directories.
Click to hide internal directories.