Matthieu Huin ced7a372a7 Support for "basic" authentication
If Zuul's identity provider supports Direct Access Grants, the
user can provide their credentials to zuul-client instead of
an auth token. The credentials can be passed as the --username
and --password CLI arguments, or as fields in the configuration file.

If no password is provided, zuul-client will prompt the user to
provide one.

Change-Id: Ief1a1e8d8f763239357d926dd10407a4ed5d8f37
2023-01-25 11:27:07 +01:00

26 lines
943 B
Plaintext

# Example of a zuul-client configuration file.
# Several sections can be created for different Zuul instances or settings.
# The "example" section below can be used when calling zuul-client like so:
#
# zuul-client --use-config example ...
[example]
url=https://example.com/zuul/
# A default tenant can be specified in the configuration file; it will be
# overriden by the --tenant argument if set.
# Note that specifying a tenant is not necessary with a white-labeled tenant API URL,
# see https://zuul-ci.org/docs/zuul/howtos/installation.html#white-labeled-tenant
tenant=mytenant
# verify_ssl=False
auth_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
# the path must be writable by the user.
log_file=/path/to/log
log_level=DEBUG
[example2]
url=https://example2.com/zuul/
tenant=myothertenant
# If the identity provider allows Direct Access Grants, a user can exchange their
# credentials for an access token.
username=user1
# password=s3cr3t