Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 209 for audiences (0.14 sec)

  1. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

      optional UserInfo user = 2;
    
      // Audiences are audience identifiers chosen by the authenticator that are
      // compatible with both the TokenReview and token. An identifier is any
      // identifier in the intersection of the TokenReviewSpec audiences and the
      // token's audiences. A client of the TokenReview API that sets the
      // spec.audiences field should validate that a compatible audience identifier
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/authentication/v1/generated.proto

      // identifier in the intersection of the TokenReviewSpec audiences and the
      // token's audiences. A client of the TokenReview API that sets the
      // spec.audiences field should validate that a compatible audience identifier
      // is returned in the status.audiences field to ensure that the TokenReview
      // server is audience aware. If a TokenReview returns an empty
      // status.audience field where status.authenticated is "true", the token is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audiences_test.go

    		{
    			auds:     Audiences{"foo"},
    			tauds:    Audiences{"foo"},
    			expected: Audiences{"foo"},
    		},
    		{
    			auds:     Audiences{"foo", "bar"},
    			tauds:    Audiences{"foo", "bar"},
    			expected: Audiences{"foo", "bar"},
    		},
    		{
    			auds:     Audiences{"foo", "bar"},
    			tauds:    Audiences{"foo", "wat"},
    			expected: Audiences{"foo"},
    		},
    		{
    			auds:     Audiences{"foo", "bar"},
    			tauds:    Audiences{"pls", "wat"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 31 21:50:11 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/authentication/v1beta1/generated.proto

      // identifier in the intersection of the TokenReviewSpec audiences and the
      // token's audiences. A client of the TokenReview API that sets the
      // spec.audiences field should validate that a compatible audience identifier
      // is returned in the status.audiences field to ensure that the TokenReview
      // server is audience aware. If a TokenReview returns an empty
      // status.audience field where status.authenticated is "true", the token is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics_test.go

            authentication_attempts{result="failure"} 1
    				`,
    		},
    		{
    			desc: "auth failed due to audiences not intersecting",
    			response: &authenticator.Response{
    				User:      &user.DefaultInfo{Name: "admin"},
    				Audiences: authenticator.Audiences{"audience-x"},
    			},
    			status:      true,
    			apiAudience: authenticator.Audiences{"audience-y"},
    			want: `
            # HELP authentication_attempts [ALPHA] Counter of authenticated attempts.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. tests/integration/security/testdata/authz/jwt.yaml.tmpl

    # - Allow request with valid JWT token to access path /jwt1
    # - Allow request with valid JWT token of presenter bar to access path with suffix "/presenter"
    # - Allow request with valid JWT token of audiences foo to access path with suffix "/audiences"
    
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: {{ .To.ServiceName }}
    spec:
      selector:
        matchLabels:
          "app": "{{ .To.ServiceName }}"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/testdata/http/allow-full-rule-in.yaml

              notValues: ["not-requestPrincipals", "not-requestPrincipals-prefix-*", "*-not-suffix-requestPrincipals", "*"]
            - key: "request.auth.audiences"
              values: ["audiences", "audiences-prefix-*", "*-suffix-audiences", "*"]
              notValues: ["not-audiences", "not-audiences-prefix-*", "*-not-suffix-audiences", "*"]
            - key: "request.auth.presenter"
              values: ["presenter", "presenter-prefix-*", "*-suffix-presenter", "*"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. security/pkg/server/ca/authenticate/oidc.go

    	ksa := parts[3]
    	if !checkAudience(sa.Aud, j.audiences) {
    		return nil, fmt.Errorf("invalid audiences %v", sa.Aud)
    	}
    	return &security.Caller{
    		AuthSource: security.AuthSourceIDToken,
    		Identities: []string{spiffe.MustGenSpiffeURI(j.meshHolder.Mesh(), ns, ksa)},
    	}, nil
    }
    
    // checkAudience() returns true if the audiences to check are in
    // the expected audiences. Otherwise, return false.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication.go

    			if err != nil {
    				klog.ErrorS(err, "Unable to authenticate the request")
    			}
    			failed.ServeHTTP(w, req)
    			return
    		}
    
    		if !audiencesAreAcceptable(apiAuds, resp.Audiences) {
    			err = fmt.Errorf("unable to match the audience: %v , accepted: %v", resp.Audiences, apiAuds)
    			klog.Error(err)
    			failed.ServeHTTP(w, req)
    			return
    		}
    
    		// authorization header is not required anymore in case of a successful authentication.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. tests/integration/security/testdata/requestauthn/aud.yaml.tmpl

      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
        audiences:
        - "foo"
      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
        audiences:
        - "bar"
    ---
    apiVersion: security.istio.io/v1beta1
    kind: RequestAuthentication
    metadata:
      name: {{ .To.ServiceName }}-part2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 838 bytes
    - Viewed (0)
Back to top