szymon_dybczak
Esteemed Contributor III

Hi @prakharsachan ,

If dbutils doesn't work for you then you can use Databricks Python SDK. Below you can find get_secret method which you can use to read secret from a secret scope:

w.secrets: Secret — Databricks SDK for Python beta documentation