Logging in to TrueFoundry

You can log in to TrueFoundry using one of the following methods:

Web-Based Login

To log in to MLFoundry through the web-based interface, follow these steps:

  1. Open your web browser and navigate to your MLFoundry host. This will typically be in the format of https://your-domain.truefoundry.com, where your-domain is the specific address for your MLFoundry instance.
  2. You will be prompted to enter your credentials, including your username and password. Provide the required information to log in.
  3. After successful authentication, you will gain access to the TrueFoundry web interface, where you can manage your machine learning assets and perform various tasks.

CLI-Based Login

TrueFoundry also provides command-line interface (CLI) options for logging in, allowing you to automate login processes and integrate them into your workflows. There are two CLI-based login methods:

Interactive Mode:

To log in interactively via the CLI, use the following command:f

sfy login --host "<ENTER YOUR HOST HERE>"

Replace with the host URL of your MLFoundry instance, e.g., https://your-domain.truefoundry.com.

This command will open a new tab in your web browser, prompting you to approve the login request. Follow the on-screen instructions to complete the login process.

Non-Interactive Mode

TrueFoundry also provides command-line interface (CLI) options for logging in, allowing you to automate login processes and integrate them into your workflows. There are two CLI-based login methods:

In non-interactive mode, you can set environment variables to automate the login process. To do this, set the following environment variables:

By setting these environment variables, you can perform CLI-based actions without the need for manual interaction. This method is useful for scripting and automation purposes.

Update, Rollback, Promote your service