Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 442 for audiences (0.13 sec)

  1. 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)
  2. pilot/pkg/security/authn/policy_applier.go

    	outterOrList := []*envoy_jwt.JwtRequirement{}
    
    	for i, jwtRule := range jwtRules {
    		provider := &envoy_jwt.JwtProvider{
    			Issuer:               jwtRule.Issuer,
    			Audiences:            jwtRule.Audiences,
    			Forward:              jwtRule.ForwardOriginalToken,
    			ForwardPayloadHeader: jwtRule.OutputPayloadToHeader,
    			PayloadInMetadata:    jwtRule.Issuer,
    		}
    		if useExtendedJwt {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/volume/projected/projected_test.go

    				tr := action.(clitesting.CreateAction).GetObject().(*authenticationv1.TokenRequest)
    				scheme.Default(tr)
    				if len(tr.Spec.Audiences) == 0 {
    					tr.Spec.Audiences = []string{"https://api"}
    				}
    				tr.Status.Token = fmt.Sprintf("%v:%v:%d:%v", action.GetNamespace(), "foo", *tr.Spec.ExpirationSeconds, tr.Spec.Audiences)
    				return true, tr, nil
    			}))
    
    			tempDir, host := newTestHost(t, client)
    			defer os.RemoveAll(tempDir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  5. pkg/volume/projected/projected.go

    				mode = 0600
    			}
    
    			var auds []string
    			if len(tp.Audience) != 0 {
    				auds = []string{tp.Audience}
    			}
    			tr, err := s.plugin.getServiceAccountToken(s.pod.Namespace, s.pod.Spec.ServiceAccountName, &authenticationv1.TokenRequest{
    				Spec: authenticationv1.TokenRequestSpec{
    					Audiences:         auds,
    					ExpirationSeconds: tp.ExpirationSeconds,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_mounter_test.go

    				tr := action.(clitesting.CreateAction).GetObject().(*authenticationv1.TokenRequest)
    				scheme.Default(tr)
    				if len(tr.Spec.Audiences) == 0 {
    					tr.Spec.Audiences = []string{"api"}
    				}
    				tr.Status.Token = fmt.Sprintf("%v:%v:%d:%v", action.GetNamespace(), testAccount, *tr.Spec.ExpirationSeconds, tr.Spec.Audiences)
    				tr.Status.ExpirationTimestamp = meta.NewTime(time.Unix(1, 1))
    				return true, tr, nil
    			}))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/model/model.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: Mon Mar 25 10:39:25 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. pkg/kube/client.go

    		})
    	}
    	return g.Wait()
    }
    
    func (c *client) CreatePerRPCCredentials(_ context.Context, tokenNamespace, tokenServiceAccount string, audiences []string,
    	expirationSeconds int64,
    ) (credentials.PerRPCCredentials, error) {
    	return NewRPCCredentials(c, tokenNamespace, tokenServiceAccount, audiences, expirationSeconds, 60)
    }
    
    func (c *client) UtilFactory() PartialFactory {
    	return c.clientFactory
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go

    	// Required to be unique across all JWT authenticators.
    	// Note that egress selection configuration is not used for this network connection.
    	// +optional
    	DiscoveryURL         string
    	CertificateAuthority string
    	Audiences            []string
    	AudienceMatchPolicy  AudienceMatchPolicyType
    }
    
    // AudienceMatchPolicyType is a set of valid values for Issuer.AudienceMatchPolicy
    type AudienceMatchPolicyType string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. pkg/serviceaccount/jwt_test.go

    			Client:      nil,
    			Keys:        []interface{}{getPublicKey(ecdsaPublicKey)},
    			ExpectedErr: false,
    			ExpectedOK:  false,
    		},
    	}
    
    	for k, tc := range testCases {
    		auds := authenticator.Audiences{"api"}
    		getter := serviceaccountcontroller.NewGetterFromClient(
    			tc.Client,
    			v1listers.NewSecretLister(newIndexer(func(namespace, name string) (interface{}, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top