Secrets
Generate Environment Variables to save your confidential information from getting exposed.
Last updated
Generate Environment Variables to save your confidential information from getting exposed.
Last updated
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: It is mandatory for the users to configure the Secret Management using the Admin module of the platform before attempting the Secret option inside the Data Science Lab module.
Once the Secret Management has been configured from the Admin module it will have the Secret Key and related fields as displayed below:
Navigate to a Notebook inside the Data Science Lab module.
Open the Secrets tab from the right-side.
The newly created Secret Key gets listed below.
Click the drop-down icon next to the Secret Key name.
The details of the selected Secret Key gets opened.
Add a new Code cell.
Select the Secret Keys by using the given check boxes.
The selected details get entered in the code cell.
Please Note: The following image indicates how we can verify whether the database is connected successfully or not by using the encrypted credentials: