Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for Ucred (0.08 sec)

  1. tests/integration/pilot/common/routing.go

    	templateParams := func(protocol protocol.Instance, src echo.Callers, dests echo.Instances, ciphers []string, port string) map[string]any {
    		hostName, dest, portN, cred := "*", dests[0], 80, ""
    		if protocol.IsTLS() {
    			hostName, portN, cred = dest.Config().ClusterLocalFQDN(), 443, "cred"
    		}
    		return map[string]any{
    			"IngressNamespace":   src[0].(ingress.Instance).Namespace(),
    			"GatewayHost":        hostName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	} else if globalServerCtxt.RootUser != "" && globalServerCtxt.RootPwd != "" {
    		user, password = globalServerCtxt.RootUser, globalServerCtxt.RootPwd
    		hasCredentials = true
    	}
    	if hasCredentials {
    		cred, err := auth.CreateCredentials(user, password)
    		if err != nil {
    			logger.Fatal(config.ErrInvalidCredentials(err),
    				"Unable to validate credentials inherited from the shell environment")
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	cred, _, s3Err := validateAdminSignature(ctx, r, "")
    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    	password := cred.SecretKey
    
    	reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls_test.go

    			opts: &buildClusterOpts{
    				mutable: newTestCluster(),
    			},
    			tls: &networking.ClientTLSSettings{
    				Mode:           networking.ClientTLSSettings_MUTUAL,
    				CredentialName: "fake-cred",
    			},
    			result: expectedResult{
    				nil,
    				nil,
    			},
    		},
    		{
    			name: "tls mode SIMPLE, credentialName is set with proxy type Sidecar",
    			opts: &buildClusterOpts{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    	if _, err := objectAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	if globalSiteReplicationSys.isEnabled() && logger.GetReqInfo(ctx).Cred.AccessKey != globalActiveCred.AccessKey {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrReplicationDenyEditError), r.URL)
    		return
    	}
    	if versioned := globalBucketVersioningSys.Enabled(bucket); !versioned {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    var getRemoteInstanceClient = func(r *http.Request, host string) (*miniogo.Core, error) {
    	cred := getReqAccessCred(r, globalSite.Region())
    	// In a federated deployment, all the instances share config files
    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, ""),
    		Secure:    globalIsTLS,
    		Transport: getRemoteInstanceTransport(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/conversion.go

    		}
    		cred, err := buildSecretReference(ctx, tls.CertificateRefs[0], gw)
    		if err != nil {
    			return out, err
    		}
    		credNs := ptr.OrDefault((*string)(tls.CertificateRefs[0].Namespace), namespace)
    		sameNamespace := credNs == namespace
    		if !sameNamespace && !ctx.AllowedReferences.SecretAllowed(creds.ToResourceName(cred), namespace) {
    			return out, &ConfigError{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/config-current.go

    	if errors.Is(err, kes.ErrNotAllowed) || errors.Is(err, errors.ErrUnsupported) {
    		return // If we don't have permission to compute the HMAC, don't change the cred.
    	}
    	if err != nil {
    		logger.Fatal(err, "Unable to generate root access key using KMS")
    	}
    
    	sKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root secret key")})
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    		if err != nil {
    			return fmt.Errorf("unable to query LDAP server for %s: %w", ldapUser, err)
    		}
    
    		cred.Groups = ldapGroups
    	}
    
    	// Set these credentials to IAM.
    	if _, err := globalIAMSys.SetTempUser(ctx, cred.AccessKey, cred, stsCred.ParentPolicyMapping); err != nil {
    		return fmt.Errorf("unable to save STS credential and/or parent policy mapping: %w", err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/gateway_test.go

    					CredentialName: "httpbin-cred",
    				},
    			},
    			transportProtocol: istionetworking.TransportProtocolQUIC,
    			result: &auth.DownstreamTlsContext{
    				CommonTlsContext: &auth.CommonTlsContext{
    					AlpnProtocols: util.ALPNHttp3OverQUIC,
    					TlsCertificateSdsSecretConfigs: []*auth.SdsSecretConfig{
    						{
    							Name:      "kubernetes://httpbin-cred",
    							SdsConfig: model.SDSAdsConfig,
    						},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
Back to top