add-auth-domain
Add a new authentication domain.
Syntax:
shell
sfiler-cli [options] add-auth-domain [command options]
Command options | Required / Optional | Description |
---|---|---|
-n | Required | The new authentication domain name (the name must be unique). |
-t | Required | Authentication Type 1:LDAP, 2:ACTIVE_DIRECTORY, 4:AZURE_AD, 5:OPENID_CONNECT |
--ignore-if-exists | Optional | A flag to ignore the error if the authentication domain name is already in use. |
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.
The use of the --ignore-if-exists
option allows ignoring the error in the event that the authentication domain name is already in use.