Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for secretKey (0.06 sec)

  1. cmd/object-handlers_test.go

    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 3.
    		// Test case to induce a signature mismatch.
    		// Using invalid accessID.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			accessKey:          "Invalid-AccessID",
    			secretKey:          credentials.SecretKey,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	// Create new HTTP request with incorrect secretKey to generate an incorrect signature.
    	secretKey := s.secretKey + "a"
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objName), 0, nil, s.accessKey, secretKey, s.signer)
    	c.Assert(err, nil)
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    }
    
    type siteReplicatorCred struct {
    	secretKey string
    	sync.RWMutex
    }
    
    // Get or attempt to load site replicator credentials from disk.
    func (s *siteReplicatorCred) Get(ctx context.Context) (string, error) {
    	s.RLock()
    	secretKey := s.secretKey
    	s.RUnlock()
    
    	if secretKey != "" {
    		return secretKey, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    	// 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(),
    	})
    	if err != nil {
    		return nil, err
    	}
    	core.SetAppInfo("minio-federated", ReleaseTag)
    	return core, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top