- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 202 for audiences (0.14 sec)
-
staging/src/k8s.io/api/authentication/v1/types.go
// 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: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 10K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go
"username": "jane", "exp": %d }`, valid.Unix()), wantErr: `oidc: verify token: oidc: expected audience "my-client" got ["not-my-client"]`, }, { // ID tokens may contain multiple audiences: // https://openid.net/specs/openid-connect-core-1_0.html#IDToken name: "multiple-audiences", options: Options{ JWTAuthenticator: apiserver.JWTAuthenticator{ Issuer: apiserver.Issuer{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 97.7K bytes - Viewed (0) -
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) -
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) -
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) -
pilot/pkg/security/authz/builder/testdata/http/allow-full-rule-out.yaml
- metadata: filter: istio_authn path: - key: request.auth.audiences value: stringMatch: suffix: -suffix-audiences - metadata: filter: istio_authn path: - key: request.auth.audiences
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 20 01:58:53 UTC 2024 - 32.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/authentication.k8s.io.v1.TokenReview.yaml
controller: true kind: kindValue name: nameValue uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: audiences: - audiencesValue token: tokenValue status: audiences: - audiencesValue authenticated: true error: errorValue user: extra: extraKey: - extraValue groups: - groupsValue uid: uidValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go
}, { name: "api audience matching response audience", apiAuds: authenticator.Audiences([]string{"other"}), respAuds: []string{"other"}, expectSuccess: true, }, { name: "api audience non-matching response audience", apiAuds: authenticator.Audiences([]string{"other"}), respAuds: []string{"some"}, expectSuccess: false, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go
{ name: "valid audience with MatchAny policy", in: []string{"audience"}, matchPolicy: "MatchAny", want: "", }, { name: "duplicate audience", in: []string{"audience", "audience"}, matchPolicy: "MatchAny", want: `issuer.audiences[1]: Duplicate value: "audience"`, }, { name: "match policy not set with multiple audiences",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 87.2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/authentication.k8s.io.v1beta1.TokenReview.json
"spec": { "token": "tokenValue", "audiences": [ "audiencesValue" ] }, "status": { "authenticated": true, "user": { "username": "usernameValue", "uid": "uidValue", "groups": [ "groupsValue" ], "extra": { "extraKey": [ "extraValue" ] } }, "audiences": [ "audiencesValue" ],
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.6K bytes - Viewed (0)