Skip to content

add-auth-domain

Add a new authentication domain.

Syntax:

shell
sfiler-cli [options] add-auth-domain [command options]
Command optionsRequired / OptionalDescription
-nRequiredThe new authentication domain name (the name must be unique).
-tRequiredAuthentication Type 1:LDAP, 2:ACTIVE_DIRECTORY, 4:AZURE_AD, 5:OPENID_CONNECT

Example:

shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" add-auth-domain -n "My new authentication domain" -t 5

This command will create a new authentication domain with the name "My new authentication domain" and the type OPENID_CONNECT. The authentication domain will not be functionnal after running this command. Additionnal configuration parameters are required to make it functionnal.