- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 56 for Creds (0.02 seconds)
-
cmd/sts-handlers_test.go
}) if err != nil { c.Fatalf("Error initializing client: %v", err) } // Validate that the client from sts creds can access the bucket. c.mustListObjects(ctx, minioClient, bucket) // Create an madmin client with user creds userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{ Creds: cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken), Secure: s.secure, }) if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
TestCredentials creds = new TestCredentials("A", true, false, subject, false); // Act TestCredentials copy = creds.clone(); // Assert assertNotSame(creds, copy, "clone must return a new instance"); assertEquals(creds.getUserDomain(), copy.getUserDomain()); assertEquals(creds.isAnonymous(), copy.isAnonymous()); assertEquals(creds.isGuest(), copy.isGuest());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
cmd/jwt_test.go
b.Fatal(err) } creds := globalActiveCred token, err := authenticateNode(creds.AccessKey, creds.SecretKey) if err != nil { b.Fatal(err) } b.ResetTimer() b.ReportAllocs() b.RunParallel(func(pb *testing.PB) { for pb.Next() { err = xjwt.ParseWithStandardClaims(token, xjwt.NewStandardClaims(), []byte(creds.SecretKey)) if err != nil { b.Fatal(err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/jcifs/context/CIFSContextCredentialWrapper.java
private Credentials creds; /** * Constructs a CIFS context wrapper with custom credentials. * * @param delegate the context to wrap * @param creds * Credentials to use */ public CIFSContextCredentialWrapper(final AbstractCIFSContext delegate, final Credentials creds) { super(delegate); this.creds = creds; } /** *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
void testWithCredentials() { // Given Credentials creds = mock(Credentials.class); CIFSContext newContext = mock(CIFSContext.class); when(mockContext.withCredentials(creds)).thenReturn(newContext); // When CIFSContext context = mockContext.withCredentials(creds); // Then assertEquals(newContext, context);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
cmd/warm-backend-s3.go
conf.AWSRoleARN, sessionName, }, } creds = credentials.New(&s3WebIdentityIAM) case conf.AccessKey != "" && conf.SecretKey != "": creds = credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "") default: return nil, errors.New("insufficient parameters for S3 backend authentication") } opts := &minio.Options{ Creds: creds, Secure: u.Scheme == "https",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jun 08 16:13:30 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
Runtime.getRuntime().addShutdownHook(this); } /** * @param creds the credentials to use * @return a wrapped context with the given credentials */ @Override public CIFSContext withCredentials(final Credentials creds) { return new CIFSContextCredentialWrapper(this, creds); } /** * * {@inheritDoc} *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4K bytes - Click Count (0) -
cmd/warm-backend-minio.go
return nil, errors.New("no bucket name was provided") } u, err := url.Parse(conf.Endpoint) if err != nil { return nil, err } creds := credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "") opts := &minio.Options{ Creds: creds, Secure: u.Scheme == "https", Transport: globalRemoteTargetTransport, TrailingHeaders: true, } client, err := minio.New(u.Host, opts)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4K bytes - Click Count (1) -
docs/sts/assume-role.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", } mopts := &madmin.Options{ Creds: li, Secure: stsEndpointURL.Scheme == "https", } v, err := li.Get() if err != nil { log.Fatalf("Error retrieving STS credentials: %v", err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Aug 17 01:24:54 GMT 2024 - 4.4K bytes - Click Count (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.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0)