Secrets

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

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.

Secrets Tab inside the Notebook Page

Accessing the Secrets tab under a DS Notebook

Once the Secret Management has been configured from the Admin module it will have the Secret Key and related fields as displayed below:

Secret Management page under the Admin module
  • Navigate to a Notebook inside the Data Science Lab module.

  • Open the Secrets tab from the right side.

  • The newly created Secret Key is listed below.

  • Click the drop-down icon next to the Secret Key name.

  • The details of the selected Secret Key get opened.​​

  • Add a new Code cell.

  • Select the Secret Keys by using the given checkboxes.

  • The selected details get entered 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.

Please Note: Refer to the Data Science Lab Quick Start Flow page to get an overview of the Data Science Lab module.

Last updated