Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List databricks secret scope and find referred keyvault in azure databricks

How can we find existing secret scopes in databricks workspace. And which keyvault is referred by specific SecretScope in Azure Databricks?

like image 371
tikiabbas Avatar asked Dec 30 '25 10:12

tikiabbas


2 Answers

This command lists available scopes on databricks:

dbutils.secrets.listScopes()
like image 174
matkurek Avatar answered Jan 05 '26 16:01

matkurek


You can do this with either:

  • Databricks Secrets REST API - the list secret scopes API will give that information
  • Databricks CLI - the databricks secrets list-scopes command will show your KeyVault URL
like image 29
Alex Ott Avatar answered Jan 05 '26 15:01

Alex Ott



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!