Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 62 for Creds (0.03 seconds)

  1. src/main/java/jcifs/CIFSContext.java

         */
        CIFSContext withGuestCrendentials();
    
        /**
         * Create a child context with specified credentials
         *
         * @param creds the credentials to use
         * @return a child context using using the given credentials
         */
        CIFSContext withCredentials(Credentials creds);
    
        /**
         * Attempt to renew credentials after authentication failure
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. cmd/admin-handlers-users_test.go

    		Policies: []string{policy},
    		User:     accessKey,
    	})
    	if err != nil {
    		c.Fatalf("unable to attach policy: %v", err)
    	}
    
    	// Create an madmin client with user creds
    	userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  credentials.NewStaticV4(accessKey, secretKey, ""),
    		Secure: s.secure,
    	})
    	if err != nil {
    		c.Fatalf("Err creating user admin client: %v", err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  3. docs/extensions/s3zip/examples/minio-go/main.go

    	"context"
    	"io"
    	"log"
    	"os"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    	s3Client, err := minio.New("minio-server-address:9000", &minio.Options{
    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    	opts.Set("x-minio-extract", "true")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Click Count (0)
  4. .ci/jobs.t/elastic+elasticsearch+multijob+third-party-tests-s3.yml

              set +x
              VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id=$VAULT_ROLE_ID secret_id=$VAULT_SECRET_ID)
              export VAULT_TOKEN
              export data=$(vault read -format=json aws-test/creds/elasticsearch-ci-s3)
              export amazon_s3_access_key=$(echo $data | jq -r .data.access_key)
              export amazon_s3_secret_key=$(echo $data | jq -r .data.secret_key)
              unset VAULT_TOKEN data
              set -x
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  5. cmd/lock-rest-server-common_test.go

    	}
    
    	locker := &lockRESTServer{
    		ll: &localLocker{
    			mutex:   sync.Mutex{},
    			lockMap: make(map[string][]lockRequesterInfo),
    		},
    	}
    	creds := globalActiveCred
    	token, err := authenticateNode(creds.AccessKey, creds.SecretKey)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return fsDir, locker, token
    }
    
    // Test function to remove lock entries from map based on name & uid combination
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. cmd/tier.go

    	case madmin.S3:
    		if creds.AWSRole {
    			cfg.S3.AWSRole = true
    		}
    		if creds.AWSRoleWebIdentityTokenFile != "" && creds.AWSRoleARN != "" {
    			cfg.S3.AWSRoleARN = creds.AWSRoleARN
    			cfg.S3.AWSRoleWebIdentityTokenFile = creds.AWSRoleWebIdentityTokenFile
    		}
    		if creds.AccessKey != "" && creds.SecretKey != "" {
    			cfg.S3.AccessKey = creds.AccessKey
    			cfg.S3.SecretKey = creds.SecretKey
    		}
    	case madmin.Azure:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. cmd/speedtest.go

    				duration:        opts.duration,
    				storageClass:    opts.storageClass,
    				bucketName:      opts.bucketName,
    				enableSha256:    opts.enableSha256,
    				enableMultipart: opts.enableMultipart,
    				creds:           opts.creds,
    			}
    
    			results := globalNotificationSys.SpeedTest(ctx, sopts)
    			sort.Slice(results, func(i, j int) bool {
    				return results[i].Endpoint < results[j].Endpoint
    			})
    
    			totalPut := uint64(0)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Mock CIFSContext behavior
            NtlmPasswordAuthentication creds = new NtlmPasswordAuthentication(
                    new BaseContext(new PropertyConfiguration(System.getProperties())), "domain", "user", "password");
            when(mockCifsContext.getCredentials()).thenReturn(creds);
            when(mockCifsContext.getConfig()).thenReturn(new PropertyConfiguration(System.getProperties()));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. cmd/signature-v2_test.go

    		t.Fatal(err)
    	}
    
    	creds := globalActiveCred
    	policy := "policy"
    	testCases := []struct {
    		accessKey string
    		policy    string
    		signature string
    		errCode   APIErrorCode
    	}{
    		{"invalidAccessKey", policy, calculateSignatureV2(policy, creds.SecretKey), ErrInvalidAccessKeyID},
    		{creds.AccessKey, policy, calculateSignatureV2("random", creds.SecretKey), ErrSignatureDoesNotMatch},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. cmd/bucket-lifecycle-handlers_test.go

    	}{
    		// Test case - 1.
    		// Filter contains more than (Prefix,Tag,And) rule
    		{
    			method:             http.MethodPut,
    			bucketName:         bucketName,
    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jun 10 15:50:49 GMT 2024
    - 11.3K bytes
    - Click Count (0)
Back to Top