Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SigningAlgs (0.22 sec)

  1. pkg/kubeapiserver/options/authentication_test.go

    	}{
    		{
    			name: "test when OIDC and ServiceAccounts are nil",
    		},
    		{
    			name: "test when OIDC and ServiceAccounts are valid",
    			testOIDC: &OIDCAuthenticationOptions{
    				UsernameClaim:      "sub",
    				SigningAlgs:        []string{"RS256"},
    				IssuerURL:          "https://testIssuerURL",
    				ClientID:           "testClientID",
    				areFlagsConfigured: func() bool { return true },
    			},
    			testSA: &ServiceAccountAuthenticationOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  2. pkg/serviceaccount/openidmetadata.go

    	ResponseTypes []string `json:"response_types_supported"`              // REQUIRED in OIDC
    	SubjectTypes  []string `json:"subject_types_supported"`               // REQUIRED in OIDC
    	SigningAlgs   []string `json:"id_token_signing_alg_values_supported"` // REQUIRED in OIDC
    }
    
    // openIDConfigJSON returns the JSON OIDC Discovery Doc for the service
    // account issuer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 12 00:23:31 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  3. pkg/serviceaccount/openidmetadata_test.go

    type Configuration struct {
    	Issuer        string   `json:"issuer"`
    	JWKSURI       string   `json:"jwks_uri"`
    	ResponseTypes []string `json:"response_types_supported"`
    	SigningAlgs   []string `json:"id_token_signing_alg_values_supported"`
    	SubjectTypes  []string `json:"subject_types_supported"`
    }
    
    func TestServeConfiguration(t *testing.T) {
    	s, jwksURI := setupServer(t, exampleIssuer, defaultKeys)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 01:53:17 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  4. pkg/kubeapiserver/options/authentication.go

    type OIDCAuthenticationOptions struct {
    	CAFile         string
    	ClientID       string
    	IssuerURL      string
    	UsernameClaim  string
    	UsernamePrefix string
    	GroupsClaim    string
    	GroupsPrefix   string
    	SigningAlgs    []string
    	RequiredClaims map[string]string
    
    	// areFlagsConfigured is a function that returns true if any of the oidc-* flags are configured.
    	areFlagsConfigured func() bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/options/options_test.go

    		SystemNamespaces:                    []string{"kube-system", "kube-public", "default"},
    	}
    
    	expected.Authentication.OIDC.UsernameClaim = "sub"
    	expected.Authentication.OIDC.SigningAlgs = []string{"RS256"}
    
    	if !s.Authorization.AreLegacyFlagsSet() {
    		t.Errorf("expected legacy authorization flags to be set")
    	}
    	// setting the method to nil since methods can't be compared with reflect.DeepEqual
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. cmd/kube-apiserver/app/options/options_test.go

    		CloudProvider: &kubeoptions.CloudProviderOptions{
    			CloudConfigFile: "/cloud-config",
    			CloudProvider:   "azure",
    		},
    	}
    
    	expected.Authentication.OIDC.UsernameClaim = "sub"
    	expected.Authentication.OIDC.SigningAlgs = []string{"RS256"}
    
    	if !s.Authorization.AreLegacyFlagsSet() {
    		t.Errorf("expected legacy authorization flags to be set")
    	}
    
    	// setting the method to nil since methods can't be compared with reflect.DeepEqual
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top