This will display a URL that can be used by Authentication Applications such as Authy and a barcode which can be directly scanned into the applications.
Note: Running this command will overwrite any existing MFA secret.
Adding an Account to Authy
To add the account to Authy, click the + button. Scan the barcode displayed on the terminal.
Displaying the OTP Barcode and URL
To display the barcode for adding the OTP to an Authentication app for a specific user use the following command:
e.g.:
This barcode can then be scanned into an authentication application such as Authy.
Removing OTP for a User
To remove the OTP requirement for a specific user, run the following command:
e.g.:
This will delete the OTP secret and remove the requirement for this specific user to use a OTP for authentication.