Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UpdateUserSecretKey (0.12 sec)

  1. cmd/iam-store.go

    	}
    	if err := cache.updateUserWithClaims(accessKey, u); err != nil {
    		return updatedAt, err
    	}
    
    	return u.UpdatedAt, nil
    }
    
    // UpdateUserSecretKey - sets user secret key to storage.
    func (store *IAMStoreSys) UpdateUserSecretKey(ctx context.Context, accessKey, secretKey string) error {
    	cache := store.lock()
    	defer store.unlock()
    
    	cache.updatedAt = time.Now()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    	if !auth.IsAccessKeyValid(accessKey) {
    		return auth.ErrInvalidAccessKeyLength
    	}
    
    	if !auth.IsSecretKeyValid(secretKey) {
    		return auth.ErrInvalidSecretKeyLength
    	}
    
    	return sys.store.UpdateUserSecretKey(ctx, accessKey, secretKey)
    }
    
    // purgeExpiredCredentialsForExternalSSO - validates if local credentials are still valid
    // by checking remote IDP if the relevant users are still active and present.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top