Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for JTI (0.03 sec)

  1. pkg/serviceaccount/claims.go

    			staleTokensTotal.WithContext(ctx).Inc()
    		} else {
    			validTokensTotal.WithContext(ctx).Inc()
    		}
    	}
    
    	var jti string
    	if utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenJTI) {
    		jti = public.ID
    	}
    	return &apiserverserviceaccount.ServiceAccountInfo{
    		Namespace:    private.Kubernetes.Namespace,
    		Name:         private.Kubernetes.Svcacct.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. pkg/serviceaccount/claims_test.go

    			featureNodeBinding: true,
    			// really fast
    			exp: 0,
    			// nil audience
    			aud: nil,
    			err: "internal error, token can only be bound to one object type",
    		},
    		{
    			// ensure JTI is set
    			sa: sa,
    			// enable setting JTI feature
    			featureJTI: true,
    			// really fast
    			exp: 0,
    			// nil audience
    			aud: nil,
    
    			sc: &jwt.Claims{
    				Subject:   "system:serviceaccount:myns:mysvcacct",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top