Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for SecretKey (0.13 sec)

  1. cmd/bucket-handlers_test.go

    	testCases := []struct {
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// expected Response.
    		expectedRespStatus int
    	}{
    		// Test case - 1.
    		// Bucket exists.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  2. internal/auth/credentials.go

    func CreateCredentials(accessKey, secretKey string) (cred Credentials, err error) {
    	if !IsAccessKeyValid(accessKey) {
    		return cred, ErrInvalidAccessKeyLength
    	}
    	if !IsSecretKeyValid(secretKey) {
    		return cred, ErrInvalidSecretKeyLength
    	}
    	cred.AccessKey = accessKey
    	cred.SecretKey = secretKey
    	cred.Expiration = timeSentinel
    	cred.Status = AccountOn
    	return cred, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	testCasesV2 := []struct {
    		expectedStatus int
    		secretKey      string
    		formData       map[string]string
    	}{
    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"AWSAccessKeyId": "invalidaccesskey"}},
    		{http.StatusForbidden, "invalidsecretkey", map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    		{http.StatusNoContent, credentials.SecretKey, map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. helm/minio/README.md

    ```bash
    helm install --set users[0].accessKey=accessKey,users[0].secretKey=secretKey,users[0].policy=none,users[1].accessKey=accessKey2,users[1].secretRef=existingSecret,users[1].secretKey=password,users[1].policy=none minio/minio
    ```
    
    Description of the configuration parameters used above -
    
    - `users[].accessKey` - accessKey of user
    - `users[].secretKey` - secretKey of usersecretRef
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users_test.go

    	}
    
    	// 2. Create a user, associate policy and verify access
    	accessKey, secretKey := mustGenerateCredentials(c)
    	err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    	// 2.1 check that user does not have any access to the bucket
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    	c.mustNotListObjects(ctx, uClient, bucket)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      private static final SecretKey MD5_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5");
      private static final SecretKey SHA1_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA1");
      private static final SecretKey SHA256_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA256");
      private static final SecretKey SHA512_KEY =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    					AccessKey:    cred.AccessKey,
    					SecretKey:    cred.SecretKey,
    					SessionToken: cred.SessionToken,
    					ParentUser:   cred.ParentUser,
    				},
    				UpdatedAt: updatedAt,
    			}))
    
    			mcreds = credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken)
    		} else {
    			mcreds = credentials.NewStaticV4(sa.Credentials.AccessKey, sa.Credentials.SecretKey, "")
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle-handlers_test.go

    		bucketName string
    		accessKey  string
    		secretKey  string
    		// Sent body
    		body []byte
    		// Expected response
    		expectedRespStatus int
    		lifecycleResponse  []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// GET empty credentials
    		{
    			method: http.MethodGet, bucketName: bucketName,
    			accessKey:          "",
    			secretKey:          "",
    			expectedRespStatus: http.StatusForbidden,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers_test.go

    			secretKey:            credentials.SecretKey,
    			expectedBucketPolicy: bucketPolicyTemplate,
    			expectedRespStatus:   http.StatusNotFound,
    		},
    		// Test case - 3.
    		// Case with non-existent bucket name.
    		{
    			bucketName:           ".invalid-bucket-name",
    			accessKey:            credentials.AccessKey,
    			secretKey:            credentials.SecretKey,
    			expectedBucketPolicy: "",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    func getTokenSigningKey() (string, error) {
    	secret := globalActiveCred.SecretKey
    	if globalSiteReplicationSys.isEnabled() {
    		secretKey, err := globalSiteReplicatorCred.Get(GlobalContext)
    		if err != nil {
    			return "", err
    		}
    		return secretKey, nil
    	}
    	return secret, nil
    }
    
    // AssumeRole - implementation of AWS STS API AssumeRole to get temporary
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top