jupyterhub_config.py
file.
/opt/jupyterhub/keycloak
, there is a file called keycloak.py
. This is a Python file that contains two functions that you can run as commands, create
and list
.
The create
command creates a client mapper in Keycloak and returns the client’s secret to the command line to be used by the jupyterhub_config.py
file to manage your instance of JupyterHub.
The list
command displays all of the clients mapped to your instance of JupyterHub, the client’s secret, root URL, authenticator type, and all redirect URIs established within Keycloak.
/opt/jupyterhub/keycloak
directory.
create
command. Copy the secret that is returned from running the command and save it in a secure location.
list
command.
jupyterhub_config.py
file. The default path is /opt/jupyterhub/etc/jupyterhub/jupyterhub_config.py
.
#
and update them as follows:
running
by running the command:
anaconda
user credentials. If you are already signed into Package Security Manager, JupyterHub will open automatically when you attempt to sign in.