Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for impersonate (0.14 sec)

  1. staging/src/k8s.io/api/authentication/v1/types.go

    const (
    	// ImpersonateUserHeader is used to impersonate a particular user during an API server request
    	ImpersonateUserHeader = "Impersonate-User"
    
    	// ImpersonateGroupHeader is used to impersonate a particular group during an API server request.
    	// It can be repeated multiplied times for multiple groups.
    	ImpersonateGroupHeader = "Impersonate-Group"
    
    	// ImpersonateUIDHeader is used to impersonate a particular UID during an API server request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10K 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/kubeadm/app/cmd/join.go

    		the --discovery-token-unsafe-skip-ca-verification flag to disable this
    		verification. This weakens the kubeadm security model since other nodes
    		can potentially impersonate the Kubernetes Control Plane.
    
    		The TLS bootstrap mechanism is also driven via a shared token. This is
    		used to temporarily authenticate with the Kubernetes Control Plane to submit a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    				rbacv1helpers.NewRule(Read...).Groups(legacyGroup).Resources("pods/attach", "pods/proxy", "pods/exec", "pods/portforward", "secrets", "services/proxy").RuleOrDie(),
    				rbacv1helpers.NewRule("impersonate").Groups(legacyGroup).Resources("serviceaccounts").RuleOrDie(),
    
    				rbacv1helpers.NewRule(Write...).Groups(legacyGroup).Resources("pods", "pods/attach", "pods/proxy", "pods/exec", "pods/portforward").RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. src/os/exec/exec_test.go

    		if poll.IsPollDescriptor(fd) {
    			continue
    		}
    
    		if fdtest.Exists(fd) {
    			haveUnexpectedFDs = true
    			return
    		}
    	}
    }
    
    // TestMain allows the test binary to impersonate many other binaries,
    // some of which may manipulate os.Stdin, os.Stdout, and/or os.Stderr
    // (and thus cannot run as an ordinary Test function, since the testing
    // package monkey-patches those variables before running tests).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top