Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for Creds (0.01 sec)

  1. cmd/auth-handler_test.go

    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	initAllSubsystems(ctx)
    
    	initConfigSubsystem(ctx, objLayer)
    
    	creds, err := auth.CreateCredentials("myuser", "mypassword")
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	globalActiveCred = creds
    
    	globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second)
    
    	// List of test cases for validating http request authentication.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. docs/sts/custom-token-identity.go

    	}
    	copts := &minio.Options{
    		Creds:  li,
    		Secure: stsEndpointURL.Scheme == "https",
    	}
    	minioClient, err := minio.New(stsEndpointURL.Host, copts)
    	if err != nil {
    		log.Fatalf("Error initializing client: ", err)
    	}
    
    	// Use minIO Client object normally like the regular client.
    	fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. 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)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. cmd/tier-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL)
    		return
    	}
    
    	var creds madmin.TierCreds
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(reqBytes, &creds); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. cmd/perf-tests.go

    		region := globalSite.Region()
    		if region == "" {
    			region = "us-east-1"
    		}
    		clnt, err = minio.New(globalLocalNodeName, &minio.Options{
    			Creds:     credentials.NewStaticV4(opts.creds.AccessKey, opts.creds.SecretKey, opts.creds.SessionToken),
    			Secure:    globalIsTLS,
    			Transport: globalRemoteTargetTransport,
    			Region:    region,
    		})
    		if err != nil {
    			return res, err
    		}
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. 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
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. docs/sts/ldap.go

    	}
    
    	stsEndpointURL, err := url.Parse(stsEndpoint)
    	if err != nil {
    		log.Fatalf("Error parsing sts endpoint: %v", err)
    	}
    
    	opts := &minio.Options{
    		Creds:  li,
    		Secure: stsEndpointURL.Scheme == "https",
    	}
    
    	v, err := li.Get()
    	if err != nil {
    		log.Fatalf("Error retrieving STS credentials: %v", err)
    	}
    
    	if displayCreds {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/CIFSContextWrapper.java

        public boolean hasDefaultCredentials() {
            return this.delegate.hasDefaultCredentials();
        }
    
        @Override
        public CIFSContext withCredentials(final Credentials creds) {
            return wrap(this.delegate.withCredentials(creds));
        }
    
        @Override
        public CIFSContext withDefaultCredentials() {
            return wrap(this.delegate.withDefaultCredentials());
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. 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)
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 50.6K bytes
    - Viewed (0)
  10. 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")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jun 14 18:04:14 UTC 2021
    - 694 bytes
    - Viewed (0)
Back to top