- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsValidServiceAccountKeyFile (1.12 sec)
-
pkg/kubeapiserver/authenticator/config.go
} // TODO maybe track requests so we know when this is safe to do oldJWTAuthenticator.cancel() }() 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 }
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/options/options.go
// Default to the private server key for service account token signing if len(completed.Authentication.ServiceAccounts.KeyFiles) == 0 && completed.SecureServing.ServerCert.CertKey.KeyFile != "" { if kubeauthenticator.IsValidServiceAccountKeyFile(completed.SecureServing.ServerCert.CertKey.KeyFile) { completed.Authentication.ServiceAccounts.KeyFiles = []string{completed.SecureServing.ServerCert.CertKey.KeyFile} } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 15.4K bytes - Viewed (0)