Enable Authentication in DL Workbench

By default, the DL Workbench is started without authentication settings. This can cause problems with sensitive data, like your model or performance information. It is recommended to enable authentication when starting the DL Workbench.

When you enable authentication, the terminal displays the following when the Docker container with the DL Workbench is up and running:

  1. One-time link with token
  2. Login token
  3. JupyterLab* token

One-Time Link with Token

The link is provided to make it easy for you to go to the DL Workbench for the first time. For each new container, a unique one-time link is generated and expires once you click it. Use this link to access the DL Workbench for the first time. When you click the link, the DL Workbench Active Projects page appears, and you can move on to work with models and sample datasets by clicking Create:

Accept or block cookies in the pop-up window. You can change your decision later on the Settings panel.

Login Token

The login token is valid as long as you do not remove the current Docker container, so treat the token as a password for the current DL Workbench session. Use it whenever you see the Enter OpenVINO DL Workbench window.

Open the http://127.0.0.1:5665 link without the URL token, and the Enter OpenVINO DL Workbench page appears. Copy the login token from the console and paste it into the field:

NOTE: The token is also saved to a folder inside a Docker container, and you can obtain it with the command below:

docker exec workbench cat /home/workbench/.workbench/token.txt

Press Start. The Active Projects page appears, and you can move on to work with models and sample datasets by clicking Create.

Accept or block cookies in the pop-up window. You can change your decision later on the Settings panel.

JupyterLab Token

Use this token when you access the Jupyter* Playground delivered by the DL Workbench. This token is valid as long as you do not remove the current Docker container.

Enable Authentication

To enable authentication, use -e ENABLE_AUTH=1 when you start the DL Workbench with the docker run command or -ENABLE_AUTH with the start_workbench.sh script:

  • Example docker run command: docker run -p 127.0.0.1:5665:5665 --name workbench -e ENABLE_AUTH=1 -it openvino/workbench:2021.3
  • Example start_workbench.sh command:
    ./start_workbench.sh -IMAGE_NAME openvino/workbench -ENABLE_AUTH

Settings Panel

Click the gear icon in the upper-right corner to see the Settings panel:

Use this panel to:

  • Exit the current user session by clicking Log Out
  • View the current application version number
  • Obtain the log by clicking Download Log
  • Obtain the database by clicking Download Database
  • Change Cookies Settings by selecting Accept or Block
  • Access the DL Workbench team to share feedback

See Also