Datalore 2024.5 Help

Migrate from deprecated features

Datalore will soon remove the following deprecated features from the user interface:

Deprecated feature

New feature

Migration

Secrets

Environment variables as workspace resources

Manual

SSH keys managed via user settings

SSH keys managed as workspace resources

SSH keys created in the user settings are migrated to the Private workspace resources. For all other workspaces where databases or Git repositories use SSH keys, it is required to add new keys and update SSH tunneling settings for each database outside your Private workspace.

Git repositories managed as notebook environment packages

Git repositories managed as workspace resources

Git repositories added via notebook environment are migrated to the resources of respective workspaces. Manual SSH key attachment is required.

At the moment, the user interface still provides access to the old entities associated with these deprecated features, but it will soon not be available. To ensure smooth functioning of your projects that are still relying on them, you are required to perform a series of migration procedures.

Procedures

Migrate secrets

Environment variables are the new alternative to Secrets (soon deprecated). To preserve your secrets, migrate them to environment variables.

  1. Click the avatar in the upper right corner of the screen.

  2. Select Account settings from the menu.

  3. Switch to the Secrets tab.

  4. Click the ellipsis for the secret you want to migrate.

  5. Select Migrate secret to environment variable.

    Migrating a secret

You can find the migrated secret in Environment variables on the left-hand menu of the Home page.

Update Git repositories and databases with SSH keys

Perform this procedure for databases and Git repositories outside your Private workspace that were using old SSH keys.

  1. Add new SSH keys.

    1. On the Home page, select the workspace.

    2. In the selected workspace, go to Other | SSH keys.

    3. Add a new SSH key as described here.

      SSH keys tab
  2. Update SSH tunneling settings for each database connection that uses this method.

    • In the selected workspace, go to Data | Databases.

    • In the database list, right-click the database connection where you want to update SSH tunneling settings.

    • In the Edit database connection dialog, switch to the SSH tab.

    • Expand the list under Key pair, and select one of the newly added SSH keys.

      Configuring SSH tunneling
  3. Update SSH keys for each Git repository.

    • In the selected workspace, go to Other | Repositories.

    • Click the repository that was using SSH keys added to your user settings.

    • In the Edit repository connection dialog, expand the list under SSH key and select one of the newly added keys.

      Editing repository connection
Last modified: 18 November 2024