Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 135 for audiences (0.27 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/zz_generated.deepcopy.go

    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *Issuer) DeepCopyInto(out *Issuer) {
    	*out = *in
    	if in.Audiences != nil {
    		in, out := &in.Audiences, &out.Audiences
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Issuer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 21.6K 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pilot/pkg/bootstrap/istio_ca.go

    	// This value can also be extracted from the mounted token
    	trustedIssuer = env.Register("TOKEN_ISSUER", "",
    		"OIDC token issuer. If set, will be used to check the tokens.")
    
    	audience = env.Register("AUDIENCE", "",
    		"Expected audience in the tokens. ")
    
    	caRSAKeySize = env.Register("CITADEL_SELF_SIGNED_CA_RSA_KEY_SIZE", 2048,
    		"Specify the RSA key size to use for self-signed Istio CA certificates.")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. cluster/gce/gci/configure-kubeapiserver.sh

      fi
      if [[ -n "${SERVICE_CLUSTER_IP_RANGE:-}" ]]; then
        params+=" --service-cluster-ip-range=${SERVICE_CLUSTER_IP_RANGE}"
      fi
      params+=" --service-account-issuer=${SERVICEACCOUNT_ISSUER}"
      params+=" --api-audiences=${SERVICEACCOUNT_ISSUER}"
      params+=" --service-account-signing-key-file=${SERVICEACCOUNT_KEY_PATH}"
    
      local audit_policy_config_mount=""
      local audit_policy_config_volume=""
      local audit_webhook_config_mount=""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 11:08:30 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top