The Multi-Factor Authentication (MFA) feature helps you activate a user account for an added security authentication on Cloud. If you activate MFA for your account, and you use MFCLI, you must provide additional details such as a secret key along with other attributes.
To run MFCLI in MFA mode, you need to pass the --mfa
argument. If MFA is enabled, you must also provide the secret key for multi-factor authentication, which is required to generate one time password (OTP). You must supply the secret key through a property file.
You need to provide the secret key value for the mfa.secret.key
in a .properties
file, for example, Sample_mfcli.properties.
mfa.secret.key = jrlr dm5t vlze clew b64f cptg fwhs d6f2
For more details on secret key for MFA, refer to How to Generate a Secret Key.
To invoke MFCLI in MFA mode, pass the command as follows:
java -DKONY_MFCLI_PROPERTIES_FILE=\Sample_mfcli.properties -jar mfcli.jar <command> --mfa .........
To generate a secret key, follow these steps:
Important: The Secret key can only be obtained during registration. If a user is already registered, deactivate the user and then activate the user again to get the secret key.
Sample_mfcli.properties
file. You must supply the Sample_mfcli.properties
file as -d
parameter for MFCLI.
Click ACTIVATE.
Copyright © 2020 Kony, Inc. All rights reserved. |