Data Science Lab
  • What is Data Science Lab?
  • Accessing the Data Science Lab Module
  • Homepage
  • List Projects
  • List Feature Stores
  • Create
    • Create Project
      • Container Status Message
    • Create Feature Store
  • Registered Models and APIs
  • Settings
  • Trash
  • Tabs for a DSL Project
    • Workspace
      • Workspace Folders
        • Repo Folder Attributes
          • Notebook Actions
            • Export
            • Register as Job
            • Notebook Version Control
            • Share
            • Delete
            • Information
        • Repo Folder Attributes for a Repo Sync Project
          • File Attributives
        • Utils Folder Attributes
          • Utility Actions
        • Files Attributes
      • Working with the Workspace tab
        • Create
        • Import
          • Importing Notebook
          • Pull from Git
        • Adding File and Folders
      • Linter
      • Git Console
    • Data
      • Adding Data
      • Data List Page
    • Model
      • Import Model
      • Explainer Generator
      • Export to GIT/ Model Migration
      • Model Explainer
      • Share a Model
      • Register a Model
      • Unregister a Model
      • Register a Model as an API Service
        • Register a Model as an API
        • Register an API Client
        • Pass Model Values in Postman
      • Delete Model
    • AutoML
      • Creating AutoML Experiment
      • AutoML List Page
        • View Explanation
          • Model Summary
          • Model Interpretation
            • Classification Model Explainer
            • Regression Model Explainer
            • Forecasting Model Explainer
          • Dataset Explainer
  • Data Science Notebook
    • Preview File
    • Save as Notebook
    • .ipynb File Cells
      • Using a Code Cell
      • Using a Markdown Cell
      • Using an Assist Cell
    • Resource Utilization Graph
    • Taskbar
    • Actions Icons
  • Model Creation using Data Science Notebook
  • Notebook Operations
    • Data
      • Copy Path Functionality
    • Secrets
    • Algorithms
    • Transforms
    • Artifacts
    • Variable Explorer
    • Writers
Powered by GitBook
On this page
  • Configuring the Secret Management Administration option
  • Accessing the Secrets tab under a DS Notebook
  1. Notebook Operations

Secrets

Generate Environment Variables to save your confidential information from getting exposed.

PreviousCopy Path FunctionalityNextAlgorithms

Last updated 10 months ago

You can generate Environment variables for the confidential information of your database using the Secret Management function. Thus, it saves your secret information from getting exposed to all the accessible users.

Pre-requisite:

  • The users must configure the using the Admin module of the platform before attempting the Secret option inside the DS Lab module.

  • The configured Secrets must be shared with a user group to access it inside the Data Science Lab module.

  • The user account selected for this activity must belong to the same user group to which the configured secrets were shared.

Configuring the Secret Management Administration option

Once the Secret Management has been configured from the Admin module it will have the Secret Key and related fields as explained in this section.

  • Navigate to the Secret Management option from the Admin module.

  • Add a Secret Key name.

  • Insert field values for the added Secret Key.

  • Click the Save option to save the Secret Management configuration.

Please Note: The given image displays a sample Secret key name. The exact secret key name should be provided or configured by the administrator.

  • Share the configured Secret Management key to a user group.

Accessing the Secrets tab under a DS Notebook

  • Access a Data Science Notebook from a user account that is part of the User group with which the configured secret is shared.

  • Open the Secrets tab from the right side.

  • Use the Refresh icon to get the latest configured Secret Key.

  • The newly created Secret Key is listed below. Click on a Secret Key option.

  • The selected Secret Key name option is displayed with a drop-down icon. Click the drop-down icon next to the Secret Key name to get the fields.

  • Add a new Code cell.

  • Select the Secret Keys by using the given checkboxes.

  • The encrypted environment variables for the fields are generated in the code cell.

  • Add a new Code cell.

  • Open the Writers tab.

  • Select a writer type using the checkbox. E.g., In this case, MySQL has been selected.

  • Map the encrypted secret keys for the related configuration details like Username, Password, Port, Host, and Database by copying them.

  • Run the cell.

  • The data frame will be written to the selected writer's database.

Secret Management