TrueNAS Documentation Archive
This content follows the TrueNAS 23.10 (Cobia) releases. Archival documentation is provided for reference only and not actively maintained. Use the Product and Version selectors above to view content specific to different TrueNAS software or major version.
Two_Factor
3 minute read.
Last Modified 2024-03-19 08:38 EDTThe SCALE CLI guide is a work in progress! New namespace and command documentation is continually added and maintained, so check back here often to see what is new!
The two_factor namespace has two commands is based on functions found in the SCALE API and web UI. It provides access to two-factor authentication (2FA) configuration methods through the two two_factor commands.
The config
command displays current 2FA settings
The update
command updates 2FA settings and requires one of five arguments in the command string: enabled
, otp_digits
, window
, interval
, and services
.