For how long does seafile-cli sync holds password

Does syncing a library in seafile-cli requests password after some time of syncing, or can I sync it forever?