Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 133 for creds (0.17 seconds)

  1. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            assertFalse(cifsContextWrapper.hasDefaultCredentials());
            verify(mockDelegate).hasDefaultCredentials();
        }
    
        @Test
        void testWithCredentials() {
            // Test withCredentials(Credentials creds) method
            Credentials mockCredentials = mock(Credentials.class);
            CIFSContext mockNewContext = mock(CIFSContext.class);
            when(mockDelegate.withCredentials(mockCredentials)).thenReturn(mockNewContext);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            when(tc.getConfig()).thenReturn(config);
            when(config.isAllowNTLMFallback()).thenReturn(true);
            when(config.isUseRawNTLM()).thenReturn(false);
    
            // Enable NTLM fallback by providing NTLM creds in constructor
            Kerb5Authenticator auth = new Kerb5Authenticator(new Subject(), "DOM", "user", "pass");
            auth.setForceFallback(true);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. docs/debugging/s3-verify/main.go

    	if err != nil {
    		return nil, err
    	}
    	if insecure {
    		// skip TLS verification
    		transport.TLSClientConfig.InsecureSkipVerify = true
    	}
    
    	clnt, err := minio.New(u.Host, &minio.Options{
    		Creds:     credentials.NewStaticV4(accessKey, secretKey, ""),
    		Secure:    secure,
    		Transport: transport,
    	})
    	if err != nil {
    		return nil, err
    	}
    
    	return clnt, nil
    }
    
    func main() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Click Count (0)
  4. docs/lambda/README.md

    	"net/url"
    	"time"
    	"fmt"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    	s3Client, err := minio.New("localhost:9000", &minio.Options{
    		Creds:  credentials.NewStaticV4("minioadmin", "minioadmin", ""),
    		Secure: false,
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	// Set lambda function target via `lambdaArn`
    	reqParams := make(url.Values)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  5. cmd/site-replication.go

    						Parent:        creds.ParentUser,
    						AccessKey:     creds.AccessKey,
    						SecretKey:     creds.SecretKey,
    						Groups:        creds.Groups,
    						Claims:        claims,
    						SessionPolicy: policyJSON,
    						Status:        creds.Status,
    						Name:          creds.Name,
    						Description:   creds.Description,
    						Expiration:    &creds.Expiration,
    					},
    				},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  6. cmd/sftp-server-driver.go

    	if f.remoteIP != "" {
    		tr = forwardForTransport{tr: tr, fwd: f.remoteIP}
    	}
    	return minio.New(f.endpoint, &minio.Options{
    		TrailingHeaders: true,
    		Creds:           mcreds,
    		Secure:          globalIsTLS,
    		Transport:       tr,
    	})
    }
    
    func (f *sftpDriver) AccessKey() string {
    	return f.permissions.CriticalOptions["AccessKey"]
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  7. cmd/iam.go

    			return auth.Credentials{}, time.Time{}, err
    		}
    	}
    	cred, err := auth.CreateNewCredentialsWithMetadata(accessKey, secretKey, m, secretKey)
    	if err != nil {
    		return auth.Credentials{}, time.Time{}, err
    	}
    	cred.ParentUser = parentUser
    	cred.Groups = groups
    	cred.Status = string(auth.AccountOn)
    	cred.Name = opts.name
    	cred.Description = opts.description
    
    	if opts.expiration != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  8. cmd/admin-handlers.go

    		if globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.GetObjectAction,
    			BucketName:      bucketName,
    			ConditionValues: getConditionValues(r, "", cred),
    			IsOwner:         owner,
    			ObjectName:      "",
    			Claims:          cred.Claims,
    		}) {
    			rd = true
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  9. cmd/server-main.go

    	bootstrapTrace("rootCredentials", func() {
    		cred := loadRootCredentials()
    		if !cred.IsValid() && (env.Get(api.EnvAPIRootAccess, config.EnableOn) == config.EnableOff) {
    			// Generate KMS based credentials if root access is disabled
    			// and no ENV is set.
    			cred = autoGenerateRootCredentials()
    		}
    
    		if !cred.IsValid() {
    			cred = auth.DefaultCredentials
    		}
    
    		var err error
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:18:36 GMT 2025
    - 35.9K bytes
    - Click Count (4)
  10. cmd/auth-handler.go

    	s3Err = authenticateRequest(ctx, r, action)
    	reqInfo := logger.GetReqInfo(ctx)
    	if reqInfo == nil {
    		return cred, owner, ErrAccessDenied
    	}
    
    	cred = reqInfo.Cred
    	owner = reqInfo.Owner
    	if s3Err != ErrNone {
    		return cred, owner, s3Err
    	}
    
    	return cred, owner, authorizeRequest(ctx, r, action)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
Back to Top