Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top