Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for impersonate (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation_test.go

    		return authorizer.DecisionAllow, "", nil
    	}
    
    	if len(user.GetGroups()) > 0 && user.GetGroups()[0] == "sa-impersonater" && a.GetVerb() == "impersonate" && a.GetResource() == "serviceaccounts" {
    		return authorizer.DecisionAllow, "", nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 06 17:13:16 UTC 2021
    - 17.2K bytes
    - Viewed (0)
  2. pkg/apis/authentication/types.go

    )
    
    const (
    	// ImpersonateUserHeader is used to impersonate a particular user during an API server request
    	ImpersonateUserHeader = "Impersonate-User"
    
    	// ImpersonateUIDHeader is used to impersonate a particular UID during an API server request.
    	ImpersonateUIDHeader = "Impersonate-Uid"
    
    	// ImpersonateGroupHeader is used to impersonate a particular group during an API server request.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:33:37 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kube/client_config.go

    		ClientKeyData:         restConfig.KeyData,
    		Token:                 restConfig.BearerToken,
    		TokenFile:             restConfig.BearerTokenFile,
    		Impersonate:           restConfig.Impersonate.UserName,
    		ImpersonateGroups:     restConfig.Impersonate.Groups,
    		ImpersonateUserExtra:  restConfig.Impersonate.Extra,
    		Username:              restConfig.Username,
    		Password:              restConfig.Password,
    		AuthProvider:          restConfig.AuthProvider,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 17 16:52:06 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  5. 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)
  6. security/pkg/server/ca/node_auth.go

    		Name:      caller.PodServiceAccount,
    	}
    	// First, make sure the caller is allowed to impersonate, in general
    	if _, f := na.trustedNodeAccounts[callerSa]; !f {
    		return fmt.Errorf("caller (%v) is not allowed to impersonate", caller)
    	}
    	// Next, make sure the identity they want to impersonate is valid, in general
    	requestedIdentity, err := spiffe.ParseIdentity(requestedIdentityString)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. releasenotes/notes/49011.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: security
    issue:
      - 47489
    releaseNotes:
      - |-
        **Added** support for istio CA to handle node authorization for CSRs with impersonate identity from remote clusters.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 15:46:44 UTC 2024
    - 328 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go

    		groupsSpecified := len(req.Header[authenticationv1.ImpersonateGroupHeader]) > 0
    
    		// make sure we're allowed to impersonate each thing we're requesting.  While we're iterating through, start building username
    		// and group information
    		username := ""
    		groups := []string{}
    		userExtra := map[string][]string{}
    		uid := ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go

    		if err != nil {
    			return nil, err
    		}
    		config.BearerToken = string(tokenBytes)
    		config.BearerTokenFile = configAuthInfo.TokenFile
    	}
    	if len(configAuthInfo.Impersonate) > 0 {
    		config.Impersonate = rest.ImpersonationConfig{
    			UserName: configAuthInfo.Impersonate,
    			UID:      configAuthInfo.ImpersonateUID,
    			Groups:   configAuthInfo.ImpersonateGroups,
    			Extra:    configAuthInfo.ImpersonateUserExtra,
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/dist_list_missing.txt

    # 'go tool dist list' should inject its output.
    
    
    # Set GOROOT to a directory that definitely does not include
    # a compiled 'dist' tool. 'go tool dist list' should still
    # work, because 'cmd/go' itself can impersonate this command.
    
    mkdir $WORK/goroot/bin
    mkdir $WORK/goroot/pkg/tool/${GOOS}_${GOARCH}
    env GOROOT=$WORK/goroot
    
    ! go tool -n dist
    stderr 'go: no such tool "dist"'
    
    go tool dist list
    stdout linux/amd64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:52:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top