Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for secretKey (0.17 sec)

  1. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. 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,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	return nil
    }
    
    // Sign given request using Signature V2.
    func signRequestV2(req *http.Request, accessKey, secretKey string) error {
    	signer.SignV2(*req, accessKey, secretKey, false)
    	return nil
    }
    
    // Sign given request using Signature V4.
    func signRequestV4(req *http.Request, accessKey, secretKey string) error {
    	// Get hashed payload.
    	hashedPayload := req.Header.Get("x-amz-content-sha256")
    	if hashedPayload == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    	versions := c.mustUploadReturnVersions(ctx, uClient, bucket)
    	c.mustNotDelete(ctx, uClient, bucket, versions[0])
    
    	assumeRole := cr.STSAssumeRole{
    		Client:      s.TestSuiteCommon.client,
    		STSEndpoint: s.endPoint,
    		Options: cr.STSAssumeRoleOptions{
    			AccessKey: accessKey,
    			SecretKey: secretKey,
    			Location:  "",
    		},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. cmd/iam.go

    	for k, v := range opts.claims {
    		_, ok := m[k]
    		if !ok {
    			m[k] = v
    		}
    	}
    
    	var accessKey, secretKey string
    	var err error
    	if len(opts.accessKey) > 0 || len(opts.secretKey) > 0 {
    		accessKey, secretKey = opts.accessKey, opts.secretKey
    	} else {
    		accessKey, secretKey, err = auth.GenerateCredentials()
    		if err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. cmd/iam-store.go

    		return updatedAt, errNoSuchServiceAccount
    	}
    	cr := ui.Credentials
    	currentSecretKey := cr.SecretKey
    	if opts.secretKey != "" {
    		if !auth.IsSecretKeyValid(opts.secretKey) {
    			return updatedAt, auth.ErrInvalidSecretKeyLength
    		}
    		cr.SecretKey = opts.secretKey
    	}
    
    	if opts.name != "" {
    		cr.Name = opts.name
    	}
    
    	if opts.description != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. helm-releases/minio-5.2.0.tgz

    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 - `users[].existingSecret` - secret name that contains the secretKey of user - `users[].existingSecretKey` - data key in existingSecret...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    func getTokenSigningKey() (string, error) {
    	secret := globalActiveCred.SecretKey
    	if globalSiteReplicationSys.isEnabled() {
    		c, err := globalSiteReplicatorCred.Get(GlobalContext)
    		if err != nil {
    			return "", err
    		}
    		return c.SecretKey, nil
    	}
    	return secret, nil
    }
    
    // AssumeRole - implementation of AWS STS API AssumeRole to get temporary
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  9. cmd/admin-handlers-idp-ldap.go

    		Credentials: madmin.Credentials{
    			AccessKey:  newCred.AccessKey,
    			SecretKey:  newCred.SecretKey,
    			Expiration: newCred.Expiration,
    		},
    	}
    
    	data, err := json.Marshal(createResp)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	encryptedData, err := madmin.EncryptData(cred.SecretKey, data)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    		Credentials: madmin.Credentials{
    			AccessKey:  newCred.AccessKey,
    			SecretKey:  newCred.SecretKey,
    			Expiration: newCred.Expiration,
    		},
    	}
    
    	data, err := json.Marshal(createResp)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	encryptedData, err := madmin.EncryptData(cred.SecretKey, data)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top