Skip to content

Commit 191de41

Browse files
committed
rename secret scope
1 parent 31a6504 commit 191de41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataworkbench/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def is_databricks():
2323
return os.getenv("DATABRICKS_RUNTIME_VERSION") is not None
2424

2525

26-
def get_secret(key: str, scope: str = "secrets") -> str:
26+
def get_secret(key: str, scope: str = "dwsecrets") -> str:
2727
"""
2828
Retrieve a secret from dbutils if running on Databricks, otherwise fallback to env variables.
2929
"""

0 commit comments

Comments
 (0)