zuul-client/doc/source/configuration.rst
Matthieu Huin 5766ed1785 Add encrypt subcommand
zuul-client can be used to encrypt a secret that can be then used in a
project's jobs.
Also improve the documentation section about using a configuration file.

Change-Id: I10e56883f0b24ac429051af36f9bf58c7594c0ed
2020-10-13 15:40:45 +02:00

814 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.

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.