mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 18:14:10 +00:00
Define default values for HubAuth ssl traitlets
The default values are taken from environment variables defined by Spawner.get_env.
This commit is contained in:
@@ -216,7 +216,7 @@ class HubAuth(SingletonConfigurable):
|
|||||||
return self.hub_host + url_path_join(self.hub_prefix, 'login')
|
return self.hub_host + url_path_join(self.hub_prefix, 'login')
|
||||||
|
|
||||||
keyfile = Unicode(
|
keyfile = Unicode(
|
||||||
'',
|
os.getenv('JUPYTERHUB_SSL_KEYFILE', ''),
|
||||||
help="""The ssl key to use for requests
|
help="""The ssl key to use for requests
|
||||||
|
|
||||||
Use with certfile
|
Use with certfile
|
||||||
@@ -224,7 +224,7 @@ class HubAuth(SingletonConfigurable):
|
|||||||
).tag(config=True)
|
).tag(config=True)
|
||||||
|
|
||||||
certfile = Unicode(
|
certfile = Unicode(
|
||||||
'',
|
os.getenv('JUPYTERHUB_SSL_CERTFILE', ''),
|
||||||
help="""The ssl cert to use for requests
|
help="""The ssl cert to use for requests
|
||||||
|
|
||||||
Use with keyfile
|
Use with keyfile
|
||||||
@@ -232,7 +232,7 @@ class HubAuth(SingletonConfigurable):
|
|||||||
).tag(config=True)
|
).tag(config=True)
|
||||||
|
|
||||||
client_ca = Unicode(
|
client_ca = Unicode(
|
||||||
'',
|
os.getenv('JUPYTERHUB_SSL_CLIENT_CA', ''),
|
||||||
help="""The ssl certificate authority to use to verify requests
|
help="""The ssl certificate authority to use to verify requests
|
||||||
|
|
||||||
Use with keyfile and certfile
|
Use with keyfile and certfile
|
||||||
|
Reference in New Issue
Block a user