We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31a6504 commit 191de41Copy full SHA for 191de41
src/dataworkbench/utils.py
@@ -23,7 +23,7 @@ def is_databricks():
23
return os.getenv("DATABRICKS_RUNTIME_VERSION") is not None
24
25
26
-def get_secret(key: str, scope: str = "secrets") -> str:
+def get_secret(key: str, scope: str = "dwsecrets") -> str:
27
"""
28
Retrieve a secret from dbutils if running on Databricks, otherwise fallback to env variables.
29
0 commit comments