Azure Databricks - Mounts and SecretScope

Gopinath Rajee 636 Reputation points


display(dbutils.fs.mounts()) fives me the list of mounts and display(dbutils.secrets.listScopes()) gives me the list of secretscopes. How do I get the list of mounts that are associated to a secretscope?


Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,387 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 59,246 Reputation points Microsoft Employee

    Hello @Gopinath Rajee ,

    Thanks for the question and using MS Q&A platform.

    Unfortunately, you cannot get the list of mounts that are associated to a secret scope.

    Reason: Mounts has no relationship with secret scopes.

    • dbutils.fs.mount() - Mounts the specified source directory into DBFS at the specified mount point.
    • dbutils.secrets.listScopes() - The secrets utility allows you to store and access sensitive credential information without making them visible in notebooks.

    Hope this will help. Please let us know if any further queries.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful