Allow user to set a tenant in one of the configuration file's subsections, so that they don't have to provide the argument to the CLI all the time. Fix the API builds() call not building the API URL properly for a white-labeled root URL. Change-Id: Ib3b8b2be07ed580ac9f48738b9157a5d0e4d5e70
878 B
- title
-
Configuration
Configuration
The web client will look by default for a .zuul.conf
file for its configuration. The file should consist of a
[webclient]
section with at least the url
attribute set. The optional verify_ssl
can be set to False
to disable SSL verifications when connecting to Zuul (defaults to True).
An authentication token can also be stored in the configuration file
under the attribute auth_token
to avoid passing the token
in the clear on the command line. A default tenant can also be set with
the tenant
attribute.
Here is an example of a .zuul.conf
file that can be used
with zuul-client:
/examples/.zuul.conf
It is also possible to run the web client without a configuration
file, by using the --zuul-url
option to specify the base
URL of the Zuul web server.