Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 228 for claims0 (0.27 sec)

  1. pkg/kubelet/cm/dra/plugin/client_test.go

    			if err != nil {
    				t.Error(err)
    				return
    			}
    
    			req := &drapbv1alpha3.NodePrepareResourcesRequest{
    				Claims: []*drapbv1alpha3.Claim{
    					{
    						Namespace:      "dummy-namespace",
    						Uid:            "dummy-uid",
    						Name:           "dummy-claim",
    						ResourceHandle: "dummy-resource",
    					},
    				},
    			}
    			client.NodePrepareResources(context.TODO(), req)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. pkg/jwt/routing_test.go

    		},
    		{
    			name: "@request.auth.claims.key1",
    			want: RoutingClaim{Match: true, Separator: Dot, Claims: []string{"key1"}},
    		},
    		{
    			name: "@request.auth.claims.key1.KEY2",
    			want: RoutingClaim{Match: true, Separator: Dot, Claims: []string{"key1", "KEY2"}},
    		},
    		{
    			name: "@request.auth.claims.key1-key2",
    			want: RoutingClaim{Match: true, Separator: Dot, Claims: []string{"key1-key2"}},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/model/util.go

    			if err != nil {
    				return nil, err
    			}
    			return []string{ret}, nil
    		}
    		claims = append(claims, s[begin+1:end])
    		begin = end + 1
    	}
    	return claims, nil
    }
    
    func MetadataStringMatcherForJWTClaim(claim string, m *matcherpb.StringMatcher) *matcherpb.MetadataMatcher {
    	return MetadataValueMatcherForJWTClaim(claim, &matcherpb.ValueMatcher{
    		MatchPattern: &matcherpb.ValueMatcher_StringMatch{
    			StringMatch: m,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. security/tools/jwt/README.md

      -sub SUB, --sub SUB   sub claim. If not provided, it is set to the same as
                            iss claim.
      -claims CLAIMS, --claims CLAIMS
                            Other claims in format name1:value1,name2:value2 etc.
                            Only string values are supported.
    ```
    
    ## Example
    
    Here is an example of using sa-jwt.py to generate a JWT token.
    
    ```bash
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Sep 14 20:15:07 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go

    				&ClaimMappingExpression{
    					Expression: "claims.foo",
    				},
    			},
    			wantErr: `compilation failed: ERROR: <input>:1:1: undeclared reference to 'claims' (in container '')`,
    		},
    		{
    			name: "ExtraMappingCondition with wrong env",
    			expressionAccessors: []ExpressionAccessor{
    				&ExtraMappingExpression{
    					Expression: "claims.foo",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. tests/integration/security/testdata/authz/jwt.yaml.tmpl

        when:
        - key: request.auth.claims[nested][key1]
          values: ["valueB"]
      - to:
        - operation:
            paths: ["/nested-non-exist"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][non-exist]
          values: ["valueC"]
      - to:
        - operation:
            paths: ["/nested-key2"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][key2]
          values: ["valueC"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcerequirements.go

    type ResourceRequirementsApplyConfiguration struct {
    	Limits   *v1.ResourceList                  `json:"limits,omitempty"`
    	Requests *v1.ResourceList                  `json:"requests,omitempty"`
    	Claims   []ResourceClaimApplyConfiguration `json:"claims,omitempty"`
    }
    
    // ResourceRequirementsApplyConfiguration constructs an declarative configuration of the ResourceRequirements type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:22:42 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. docs/iam/identity-manager-plugin.go

    	Claims             map[string]interface{} `json:"claims"`
    }
    
    var tokens map[string]Resp = map[string]Resp{
    	"aaa": {
    		User:               "Alice",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    			"groups": []string{"data-science"},
    		},
    	},
    	"bbb": {
    		User:               "Bart",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/authorizationpolicies.yaml

          to:
            - operation:
                methods: ["GET"]
                paths: ["/info*"]
            - operation:
                methods: ["POST"]
                paths: ["/data"]
          when:
            - key: request.auth.claims[iss]
              values: ["https://accounts.google.com"]
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: meshwide-httpbin
      namespace: istio-system # valid: it applies to whole mesh
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 08 14:14:46 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. pkg/jwt/routing.go

    import (
    	"strings"
    )
    
    // HeaderJWTClaim is the special header name used in virtual service for routing based on JWT claims.
    const HeaderJWTClaim = "@request.auth.claims"
    
    type Separator int
    
    const (
    	Dot Separator = iota
    	Square
    )
    
    type RoutingClaim struct {
    	Match     bool
    	Separator Separator
    	Claims    []string
    }
    
    func ToRoutingClaim(headerName string) RoutingClaim {
    	rc := RoutingClaim{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top