Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FleetRecognizer = generic.NewCertificateSigningRequestRecognizer( IsFleetClientCert, authv1.ResourceAttributes{ Group: certificatesv1.GroupName, Resource: "certificatesigningrequests", Verb: "create", Subresource: "fleetclient", }, "Auto approving fleet client certificate after SubjectAccessReview.", ) )
View Source
var ( FleetRequiredUsages = sets.New[certificatesv1.KeyUsage]( certificatesv1.UsageDigitalSignature, certificatesv1.UsageKeyEncipherment, certificatesv1.UsageClientAuth, ) )
View Source
var Recognizers []generic.CertificateSigningRequestRecognizer
Functions ¶
func IsFleetClientCert ¶
func IsFleetClientCert(csr *certificatesv1.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool
func ValidateFleetClientCSR ¶
func ValidateFleetClientCSR(req *x509.CertificateRequest, usages sets.Set[certificatesv1.KeyUsage]) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.