Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 103 for Ucred (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. api/go1.1.txt

    pkg syscall (linux-386), const WUNTRACED = 2
    pkg syscall (linux-386), const XCASE = 4
    pkg syscall (linux-386), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (linux-386), func GetsockoptUcred(int, int, int) (*Ucred, error)
    pkg syscall (linux-386), func Getxattr(string, string, []uint8) (int, error)
    pkg syscall (linux-386), func Listxattr(string, []uint8) (int, error)
    pkg syscall (linux-386), func Pipe2([]int, int) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M 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