Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsSecretKeyValid (0.08 sec)

  1. cmd/batch-replicate.go

    }
    
    // Validate validates if credentials are valid
    func (c BatchJobReplicateCredentials) Validate() error {
    	if !auth.IsAccessKeyValid(c.AccessKey) || !auth.IsSecretKeyValid(c.SecretKey) {
    		return errInvalidArgument
    	}
    	return nil
    }
    
    // BatchJobReplicateTarget describes target element of the replication job that receives
    // the filtered data from source
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. cmd/iam.go

    		return updatedAt, auth.ErrInvalidAccessKeyLength
    	}
    
    	if auth.ContainsReservedChars(accessKey) {
    		return updatedAt, auth.ErrContainsReservedChars
    	}
    
    	if !auth.IsSecretKeyValid(ureq.SecretKey) {
    		return updatedAt, auth.ErrInvalidSecretKeyLength
    	}
    
    	updatedAt, err = sys.store.AddUser(ctx, accessKey, ureq)
    	if err != nil {
    		return updatedAt, err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    	if !ok || !ui.Credentials.IsServiceAccount() {
    		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
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
Back to top