Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for impersonate (0.2 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. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go

    	}
    	if f.Impersonate != nil {
    		flags.StringVar(f.Impersonate, flagImpersonate, *f.Impersonate, "Username to impersonate for the operation. User could be a regular user or a service account in a namespace.")
    	}
    	if f.ImpersonateUID != nil {
    		flags.StringVar(f.ImpersonateUID, flagImpersonateUID, *f.ImpersonateUID, "UID to impersonate for the operation.")
    	}
    	if f.ImpersonateGroup != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top