Hi @monoprix, welcome to the forum!
I haven’t used two factor authentication with Duplicati myself, but apparently it should be doable - at least according to this: