TrueNAS SCALE Documentation Archive
This content follows the TrueNAS SCALE 22.12 (Bluefin) 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 versions.
Two_Factor
4 minute read.
Last Modified 2024-03-19 08:47 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 five commands and is based on functions found in the SCALE API and web UI. It provides access to two-factor authentication (2FA) configuration methods through the five two_factor commands.
The config
command displays current 2FA settings.
The provisioning_uri
command displays the provisioning URI for the One-Time Password (OTP).
Theprovisioning_uri
command only displays part of the provisioning URI. For the full URI, access the TrueNAS web UI and go to Credentials > 2FA.
The renew_secret
command generates a new secret for 2FA.
The update
command updates 2FA settings and requires one of five arguments in the command string: enabled
, otp_digits
, window
, interval
, and services
.
The verify
command verifies whether or not a password is authenticated.