Use the Digipass S3 Command Line Interface (CLI) to configure your Digipass S3 Authentication Software. The CDT package includes the run_cli.sh script that runs the nnl-mgmt.sh command-line utility from the CDT Host System.
Note that you cannot use the CLI to create complex objects like Adaptive Rulesets, Adaptive Rules, FIDO policies, or Post Operation rules. These must be created and edited using the Server Admin Console. For more information about the available CLI commands, see Command line interface.
Use the script run_cli.sh to run the CLI. Each time you run run_cli.sh, an instance of the CLI is automatically started inside a Docker container. When the CLI command is completed, that instance is automatically destroyed.
Run from the CDT Host System terminal:
cd ${NN_CDT_HOME}/nns3
./run_cli.sh nnl-mgmt.sh <command> <parameters>Refer to Command line interface for information on available nnl-mgmt.sh commands and their parameters.
Here is an example that shows how to list the default tenant’s properties:
cd ${NN_CDT_HOME}/nns3
./run_cli.sh nnl-mgmt.sh properties listExport and Import Digipass S3 Artifacts
You can use the CLI to import or export configuration files. The Docker Compose file that runs the CLI container automatically bind-mounts the ${NN_CDT_HOME}/nns3/nn_shared directory inside the CLI container. The nnl-mgmt.sh commands that export or import Digipass S3 properties, policies and other such artifacts must read from or write to this nn_shared directory. Therefore, any path specified in the nnl-mgmt.sh command parameters must be relative to this nn_shared directory. Note that any files in the /nn_shared directory are available on both the host and the guest Docker container.