InfinStor Authentication Flow

The InfinStor Service authentication system uses Amazon Cognito. This single sign on is used for authentication to the InfinStor service dashboard, the Jupyterlab sidebar with access to Mlflow UI, Mlflow CLI for Mlflow Projects, etc.

Token file

The token received from Cognito user authentication is stored in the file ~/.infinstor/token. This file is created by three methods

Service Dashboard

The InfinStor Service Dashboard, available at: InfinStor Service Dashboard

Click on Configuration -> Manage Token in the sidebar and click on 'Create Custom Token File'. A file named token will be downloaded. Copy this file to the subdirectory .infinstor in your home directory (this has been tested with Windows, MacOS and Linux).

Jupyterlab Sidebar Login

  1. When the user logs in using the Jupyterlab sidebar, the ~/.infinstor/token file is written on the machine running the jupyter server process
  2. When the user logs in using the following CLI command, the ~/.infinstor/token file is written in that machine

Command Line Login

python -m infinstor_mlflow_plugin.login
  • You must be logged in using one of the above two methods in order to use the InfinStor Mlflow components
  • The InfinStor jupyterlab sidebar prompts for this login before you can access the sidebar functionality