- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PublicKeysFromFile (0.18 sec)
-
pkg/kubeapiserver/authenticator/config.go
}() return nil } // IsValidServiceAccountKeyFile returns true if a valid public RSA key can be read from the given file func IsValidServiceAccountKeyFile(file string) bool { _, err := keyutil.PublicKeysFromFile(file) return err == nil } // newAuthenticatorFromTokenFile returns an authenticator.Token or an error func newAuthenticatorFromTokenFile(tokenAuthFile string) (authenticator.Token, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/controlplane/apiserver/config.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 14.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/pki_helpers.go
return nil, nil, errors.Wrapf(err, "couldn't load the private key file %s", privateKeyPath) } publicKeyPath := pathForPublicKey(pkiPath, name) // Parse the public key from a file pubKeys, err := keyutil.PublicKeysFromFile(publicKeyPath) if err != nil { return nil, nil, errors.Wrapf(err, "couldn't load the public key file %s", publicKeyPath) } // Allow RSA and ECDSA formats only switch k := privKey.(type) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 25.5K bytes - Viewed (0)