Hey! These docs are for version 2.0, which is no longer officially supported. Click here for the latest version, 2.7!

basicauth

Support for HTTP basicauth.

Config section: [basicauth]

Basic options

None

Advanced options

None

Deprecated options

--basicauth-providers="{'key1': val1, 'key2': val2, ...}"
PANTS_BASICAUTH_PROVIDERS
providers
default: {}
Deprecated, will be removed in version: 2.1.0.dev0
The option `--basicauth-provides` does not do anything and the `[basicauth]` subsystem will be removed.
Map from provider name to config dict. This dict contains the following items: {provider_name: <url of endpoint that accepts basic auth and sets a session cookie>}. For example, `{'prod': 'https://app.pantsbuild.org/auth'}`.

--[no-]basicauth-allow-insecure-urls
PANTS_BASICAUTH_ALLOW_INSECURE_URLS
allow_insecure_urls
default: False
Deprecated, will be removed in version: 2.1.0.dev0
The option `--basicauth-allow-insecure-urls` does not do anything and the `[basicauth]` subsystem will be removed.
Allow auth against non-HTTPS urls. Must only be set when testing!


Did this page help you?