Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,823 for token8 (0.14 sec)

  1. pkg/kube/rpc_creds.go

    			tokenRequest, err := createServiceAccountToken(ctx, its.kubeClient, its.tokenNamespace, its.tokenServiceAccount,
    				its.audiences, its.expirationSeconds)
    			if err == nil {
    				its.Token = tokenRequest.Status.Token
    				its.Expires = tokenRequest.Status.ExpirationTimestamp.Time
    			} else {
    				log.Infof("GetRequestMetadata failed to recreate token: %v", err.Error())
    			}
    		}
    		token = its.Token
    		its.mu.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    	threadCount := []int{1, 16, 256}
    	for _, tokens := range tokenCount {
    		for _, threads := range threadCount {
    			newSingleBenchmark(tokens, threads).run(b)
    		}
    	}
    }
    
    func newSingleBenchmark(tokens, threads int) *singleBenchmark {
    	s := &singleBenchmark{
    		threadCount: threads,
    		tokenCount:  tokens,
    	}
    	s.makeTokens()
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  3. security/pkg/credentialfetcher/plugin/token.go

    	}
    }
    
    func (t KubernetesTokenPlugin) GetPlatformCredential() (string, error) {
    	if t.path == "" {
    		return "", nil
    	}
    	tok, err := os.ReadFile(t.path)
    	if err != nil {
    		log.Warnf("failed to fetch token from file: %v", err)
    		return "", nil
    	}
    	return strings.TrimSpace(string(tok)), nil
    }
    
    func (t KubernetesTokenPlugin) GetIdentityProvider() string {
    	return ""
    }
    
    func (t KubernetesTokenPlugin) Stop() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/copycerts/copycerts.go

    	}
    	tokens := []bootstraptokenv1.BootstrapToken{{
    		Token:       token,
    		Description: "Proxy for managing TTL for the kubeadm-certs secret",
    		TTL: &metav1.Duration{
    			Duration: kubeadmconstants.DefaultCertTokenDuration,
    		},
    	}}
    
    	if err := nodebootstraptokenphase.CreateNewTokens(client, tokens); err != nil {
    		return "", errors.Wrap(err, "error creating token")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. pkg/controller/bootstrap/bootstrapsigner.go

    			tokenID := strings.TrimPrefix(key, bootstrapapi.JWSSignatureKeyPrefix)
    			sigs[tokenID] = value
    			delete(newCM.Data, key)
    		}
    	}
    
    	// Now recompute signatures and store them on the new map
    	tokens := e.getTokens(ctx)
    	for tokenID, tokenValue := range tokens {
    		sig, err := jws.ComputeDetachedSignature(content, tokenID, tokenValue)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. cni/pkg/install/testdata/token-foo

    Sergei Gavrilov <******@****.***> 1657207540 +0200
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 07 15:25:40 UTC 2022
    - 3 bytes
    - Viewed (0)
  7. cni/pkg/install/testdata/token-bar

    Sergei Gavrilov <******@****.***> 1657207540 +0200
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 07 15:25:40 UTC 2022
    - 3 bytes
    - Viewed (0)
  8. cmd/sts-datatypes.go

    	// This is traditionally the client identifier issued to the application that
    	// requested the client grants.
    	Audience string `xml:",omitempty"`
    
    	// The temporary security credentials, which include an access key ID, a secret
    	// access key, and a security (or session) token.
    	//
    	// Note: The size of the security token that STS APIs return is not fixed. We
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    						new := &Line{Token: tokens[1:], InBlock: true}
    						stmt.Line[j+1] = new
    						return new
    					}
    				}
    			}
    		}
    	}
    
    	new := &Line{Token: tokens}
    	x.Stmt = append(x.Stmt, new)
    	return new
    }
    
    func (x *FileSyntax) updateLine(line *Line, tokens ...string) {
    	if line.InBlock {
    		tokens = tokens[1:]
    	}
    	line.Token = tokens
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. tests/integration/security/authz_test.go

    						},
    						{
    							prefix: "[Token2]",
    							jwt:    jwt.TokenIssuer2,
    							path:   "/token1",
    							allow:  false,
    						},
    						{
    							prefix: "[Token2]",
    							jwt:    jwt.TokenIssuer2,
    							path:   "/token2",
    							allow:  true,
    						},
    						{
    							prefix: "[Token3]",
    							jwt:    jwt.TokenIssuer1,
    							path:   "/token3",
    							allow:  false,
    						},
    						{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
Back to top