Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for impersonate (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/webhook/authentication_test.go

    					"foo.com": {
    						Token:                "foo",
    						Impersonate:          "user-a",
    						ImpersonateUID:       "user-a-uid-1111",
    						ImpersonateGroups:    []string{"user-a-group1", "user-a-group2"},
    						ImpersonateUserExtra: map[string][]string{"foo": {"bar", "baz", "etc"}},
    					},
    				},
    			},
    			expected: rest.Config{
    				BearerToken: "foo",
    				Impersonate: rest.ImpersonationConfig{
    					UserName: "user-a",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. security/pkg/server/ca/server_test.go

    			impersonatePod:      podOtherNode,
    			callerClusterID:     cluster.ID("fake"),
    			trustedNodeAccounts: allowZtunnel,
    			code:                codes.Unauthenticated,
    		},
    		{
    			name: "Successful signing with impersonate identity",
    			authenticators: []security.Authenticator{&mockAuthenticator{
    				identities:     []string{"test-identity"},
    				kubernetesInfo: ztunnelCaller,
    			}},
    			ca: &mockca.FakeCA{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. security/pkg/server/ca/server.go

    			return nil, status.Error(codes.Unauthenticated, "request impersonation authentication failure")
    		}
    		// Node is authorized to impersonate; overwrite the SAN to the impersonated identity.
    		sans = []string{impersonatedIdentity}
    	}
    	serverCaLog.Debugf("generating a certificate, sans: %v, requested ttl: %s", sans, time.Duration(request.ValidityDuration*int64(time.Second)))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/tool/tool.go

    			// since it is normally only used for building the toolchain in the first
    			// place. However, 'go tool dist list' is useful for listing all supported
    			// platforms.
    			//
    			// If the dist tool does not exist, impersonate this command.
    			if impersonateDistList(args[2:]) {
    				// If it becomes necessary, we could increment an additional counter to indicate
    				// that we're impersonating dist list if knowing that becomes important?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. security/pkg/server/ca/node_auth_test.go

    		requestedIdentityString string
    		trustedAccounts         map[types.NamespacedName]struct{}
    		wantErr                 string
    	}{
    		{
    			name:    "empty allowed identities",
    			wantErr: "not allowed to impersonate",
    		},
    		{
    			name:                    "allowed identities, but not on node",
    			caller:                  ztunnelCaller,
    			trustedAccounts:         allowZtunnel,
    			requestedIdentityString: podSameNode.Identity(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    			log.Warnf("skipping workload entry %s/%s; DNS Address resolution is not yet implemented", wle.Namespace, wle.Name)
    		}
    
    		w.WorkloadName, w.WorkloadType = wle.Name, workloadapi.WorkloadType_POD // XXX(shashankram): HACK to impersonate pod
    		w.CanonicalName, w.CanonicalRevision = kubelabels.CanonicalService(wle.Labels, w.WorkloadName)
    
    		setTunnelProtocol(wle.Labels, wle.Annotations, w)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. pkg/kube/util.go

    			ClientKey:             auths.ClientKey,
    			ClientKeyData:         auths.ClientKeyData,
    			Token:                 auths.Token,
    			TokenFile:             auths.TokenFile,
    			Impersonate:           auths.Impersonate,
    			ImpersonateGroups:     auths.ImpersonateGroups,
    			ImpersonateUserExtra:  auths.ImpersonateUserExtra,
    			Username:              auths.Username,
    			Password:              auths.Password,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml

        - pods/proxy
        - secrets
        - services/proxy
        verbs:
        - get
        - list
        - watch
      - apiGroups:
        - ""
        resources:
        - serviceaccounts
        verbs:
        - impersonate
      - apiGroups:
        - ""
        resources:
        - pods
        - pods/attach
        - pods/exec
        - pods/portforward
        - pods/proxy
        verbs:
        - create
        - delete
        - deletecollection
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 08:11:08 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  9. pkg/security/security.go

    	CertSigner = "CertSigner"
    
    	// ImpersonatedIdentity declares the identity we are requesting a certificate on behalf of.
    	// This is constrained to only allow identities in CATrustedNodeAccounts, and only to impersonate identities
    	// on their node.
    	ImpersonatedIdentity = "ImpersonatedIdentity"
    )
    
    type ImpersonatedIdentityContextKey struct{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// UnsafeSkipCAVerification allows token-based discovery
    	// without CA verification via CACertHashes. This can weaken
    	// the security of kubeadm since other nodes can impersonate the control-plane.
    	// +optional
    	UnsafeSkipCAVerification bool `json:"unsafeSkipCAVerification,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top