domains-config¶
domains-config create-domain-config¶
Usage
  usage: symp domains-config create-domain-config
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                  [-c COLUMN]
                                                  [--max-width <integer>]
                                                  [--noindent] [--prefix PREFIX]
                                                  [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                  [--driver DRIVER]
                                                  domain_id config
Description
Configures a domain with the relevant configuration parameters.
Mandatory
positional arguments:
  domain_id             The ID of the domain (account) to be configured
  config                A JSON string of configuration parameters to pass to the driver
                        If --driver = 'ldap' or 'openotp' The following parameters must be included: user, password, url, suffix, user_tree_dn
                        For example:
                        -{
                        -    "user": "cn=Administrator,cn=Users,dc=example,dc=com",
                        -    "password": "123PASSword",
                        -    "url": "ldap://10.11.12.13:333",
                        -    "suffix": "dc=example,dc=com",
                        -    "user_tree_dn": "cn=Users,dc=example,dc=com"
                        -}
                        For information about additional LDAP configuration parameters see:
                        https://github.com/Stratoscale/openstack-keystone/blob/master/etc/keystone.conf.sample under [ldap]
Optional
optional arguments:
  -h, --help            show this help message and exit
  --driver DRIVER       The driver to use for the domain's authentication; either ldap or openotp. Default: ldap
domains-config delete-domain-config¶
Usage
  usage: symp domains-config delete-domain-config
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                  [-c COLUMN]
                                                  [--max-width <integer>]
                                                  [--noindent] [--prefix PREFIX]
                                                  [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                  domain_id
Description
Deletes the configuration of a domain (account), reverting it to the default configuration.
Mandatory
positional arguments:
  domain_id             The ID of the domain (account) whose configuration is being deleted
Optional
optional arguments:
  -h, --help            show this help message and exit
domains-config get-domain-config¶
Usage
  usage: symp domains-config get-domain-config
[-f {adaptive_table,json,shell,table,value,yaml}]
                                               [-c COLUMN]
                                               [--max-width <integer>]
                                               [--noindent] [--prefix PREFIX]
                                               [-m [NAME=VALUE [NAME=VALUE ...]]]
                                               domain_id
Description
Displays the details of the current configuration of a given domain (account).
Returns
Returns dict: The configuration of the given domain (account)
Mandatory
positional arguments:
  domain_id             The ID of the domain (account) whose configuration is to be displayed
Optional
optional arguments:
  -h, --help            show this help message and exit
domains-config test-ldap-config¶
Usage
  usage: symp domains-config test-ldap-config
[-f {adaptive_table,json,shell,table,value,yaml}]
                                              [-c COLUMN]
                                              [--max-width <integer>]
                                              [--noindent] [--prefix PREFIX]
                                              [-m [NAME=VALUE [NAME=VALUE ...]]]
                                              domain_id config
Description
Validate LDAP configuration of a given domain.
Returns
Returns dict: LDAP stats for the given domain
Mandatory
positional arguments:
  domain_id             The ID of the domain (account) whose LDAP configuration will be set
  config                A JSON string of configuration parameters to pass to the driver.
                        For details - see "domains-config create-domain-config"
Optional
optional arguments:
  -h, --help            show this help message and exit
domains-config test-openotp-config¶
Usage
  usage: symp domains-config test-openotp-config
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                 [-c COLUMN]
                                                 [--max-width <integer>]
                                                 [--noindent] [--prefix PREFIX]
                                                 [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                 domain_id config
Description
Validate OpenOTP configuration of a given domain.
Returns
Returns dict: OpenOTP & LDAP stats for the given domain
Mandatory
positional arguments:
  domain_id             The ID of the domain (account) whose LDAP configuration will be set
  config                A JSON string of configuration parameters to pass to the driver.
                        For details - see "domains-config create-domain-config"
Optional
optional arguments:
  -h, --help            show this help message and exit
domains-config update-domain-config¶
Usage
  usage: symp domains-config update-domain-config
[-f {adaptive_table,json,shell,table,value,yaml}]
                                                  [-c COLUMN]
                                                  [--max-width <integer>]
                                                  [--noindent] [--prefix PREFIX]
                                                  [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                  [--driver DRIVER]
                                                  domain_id config
Description
Update a domain. For more information on parameters and valid configurations: https://developer.openstack.org/api-ref/identity/v3/?expanded=create-domain-configuration-detail#create-domain-configuration.
Mandatory
positional arguments:
  domain_id             The ID of the domain to configure
  config                Parameters to pass to the driver
Optional
optional arguments:
  -h, --help            show this help message and exit
  --driver DRIVER       The driver to use for the domain's authentication. Either ldap or openotp