Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 198 for audiences (0.16 sec)

  1. pkg/controlplane/apiserver/options/validation.go

    	}
    
    	if enableAttempted && !enableSucceeded {
    		errs = append(errs, errors.New("--service-account-signing-key-file, --service-account-issuer, and --api-audiences should be specified together"))
    	}
    
    	return errs
    }
    
    func validateAPIPriorityAndFairness(options *Options) []error {
    	if options.Features.EnablePriorityAndFairness {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 12:46:24 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. security/pkg/server/ca/authenticate/kubeauth/kube_jwt_test.go

    				ctx = metadata.NewIncomingContext(ctx, tc.metadata)
    			}
    
    			tokenReview := &k8sauth.TokenReview{
    				Spec: k8sauth.TokenReviewSpec{
    					Token: tc.token,
    				},
    			}
    
    			tokenReview.Status.Audiences = []string{}
    			if tc.token != invlidToken {
    				tokenReview.Status.Authenticated = true
    			}
    			tokenReview.Status.User = k8sauth.UserInfo{
    				Username: "system:serviceaccount:default:example-pod-sa",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/ca.go

    		}
    		// Otherwise, its expired, load a new one
    	}
    	rt, err := c.CoreV1().ServiceAccounts(ns).CreateToken(context.Background(), sa,
    		&authenticationv1.TokenRequest{
    			Spec: authenticationv1.TokenRequestSpec{
    				Audiences:         []string{aud},
    				ExpirationSeconds: &saTokenExpiration,
    			},
    		}, metav1.CreateOptions{})
    	if err != nil {
    		return "", err
    	}
    	exp := rt.Status.ExpirationTimestamp.Time
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. security/tools/jwt/samples/gen-jwt.py

                            help="iss claim. Default is `******@****.***`")
        parser.add_argument("-aud", "--aud",
                            help="aud claim. This is comma-separated-list of audiences")
        parser.add_argument("-sub", "--sub",
                            help="sub claim. If not provided, it is set to the same as iss claim.")
        parser.add_argument("-claims", "--claims",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. pkg/registry/core/rest/storage_core_generic.go

    	EventTTL       time.Duration
    
    	ServiceAccountIssuer        serviceaccount.TokenGenerator
    	ServiceAccountMaxExpiration time.Duration
    	ExtendExpiration            bool
    
    	APIAudiences authenticator.Audiences
    
    	LoopbackClientConfig *restclient.Config
    	Informers            informers.SharedInformerFactory
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. internal/config/identity/openid/jwt.go

    	// REQUIRED. Audience(s) that this ID Token is intended for.
    	// It MUST contain the OAuth 2.0 client_id of the Relying Party
    	// as an audience value. It MAY also contain identifiers for
    	// other audiences. In the general case, the aud value is an
    	// array of case sensitive strings. In the common special case
    	// when there is one audience, the aud value MAY be a single
    	// case sensitive
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. pkg/kubelet/token/token_manager.go

    	}
    
    	var ref authenticationv1.BoundObjectReference
    	if tr.Spec.BoundObjectRef != nil {
    		ref = *tr.Spec.BoundObjectRef
    	}
    
    	return fmt.Sprintf("%q/%q/%#v/%#v/%#v", name, namespace, tr.Spec.Audiences, exp, ref)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  8. pkg/config/security/security_test.go

    		},
    		{
    			key:    "source.principal",
    			values: []string{"value"},
    		},
    		{
    			key:    "request.auth.principal",
    			values: []string{"value"},
    		},
    		{
    			key:    "request.auth.audiences",
    			values: []string{"value"},
    		},
    		{
    			key:    "request.auth.presenter",
    			values: []string{"value"},
    		},
    		{
    			key:    "request.auth.claims[id]",
    			values: []string{"123"},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. pkg/config/security/security.go

    	attrRequestPrincipal = "request.auth.principal" // authenticated principal of the request.
    	attrRequestAudiences = "request.auth.audiences" // intended audience(s) for this authentication information.
    	attrRequestPresenter = "request.auth.presenter" // authorized presenter of the credential.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. cmd/jwt.go

    func newCachedAuthToken() func(audience string) string {
    	fn := func(accessKey, secretKey, audience string) (s string, err error) {
    		k := cacheKey{accessKey: accessKey, secretKey: secretKey, audience: audience}
    
    		var ok bool
    		s, ok = cacheLRU.Get(k)
    		if !ok {
    			s, err = authenticateNode(accessKey, secretKey, audience)
    			if err != nil {
    				return "", err
    			}
    			cacheLRU.Add(k, s)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top