To add a new profile for multifactor authentication via SMS, use the following command:
Admin@nodename# create users mfa-profiles smpp <parameter>
Provide the following parameters:
Parameter |
Description |
---|---|
name |
The name of the MFA profile. |
description |
A description of the MFA profile. |
notification-sender |
Name of the notification sender. |
notification-body |
Body of the email. In the message body, you can use a special variable named {2fa_auth_code} that will be replaced by the one-time password. The notification text is separated by quotation marks (""). |
code-lifetime |
One-time password validity period (in seconds). |
To edit a profile for multifactor authentication via SMS, use the following command:
Admin@nodename# set users mfa-profiles smpp <mfa-sms-profile> <parameter>
The parameters available to update are identical to those used to create a profile.
Example of creating and editing a profile for multifactor authentication via SMS:
Admin@nodename# create users mfa-profiles smpp name "Test SMPP MFA profile" notification-profile "Example SMPP profile" notification-sender Tes_sender notification-body "Test notification text" Admin@nodename# show users mfa-profiles smpp "Test SMPP MFA profile" name : Test SMPP MFA profile notification-profile : Example SMPP profile notification-sender : Tes_sender notification-body : Test notification text code-lifetime : 60 Admin@nodename# set users mfa-profiles smpp "Test SMPP MFA profile" code-lifetime 80 Admin@nodename# show users mfa-profiles smpp "Test SMPP MFA profile" name : Test SMPP MFA profile notification-profile : Example SMPP profile notification-sender : Tes_sender notification-body : Test notification text code-lifetime : 80