CLI authentication
This page covers the steps needed to authenticate the CLI with your server
In order to allow the CLI installed on your local station to access your local server you need to supply the CLI with an authentication token.
We have several ways to obtain the authentication token:
To authenticate via the CLI:
Run
leap auth loginWhen asked for the API URL enter the url you use to access the Tensorleap Platform (hit Enter to chose default)
Press Enter for the rest of the interactive questions. This should open your browser
The browser should ask you to "Authorize" the CLI to access your server. Click it to complete the authentication.
To authenticate via the UI:
Go into the Tensorleap app via the browser (default URL: http://localhost:4589/)
Login with the credentials you've entered after registering.
Open up the menu from the top left corner and choose "CLI Token"
Copy the CLI command that appears in the UI and paste into your terminal.
Last updated
Was this helpful?