azure databricks list and delete screte scopes

sakuraime 2,276 Reputation points
2021-04-15T01:38:26.75+00:00

there is command line databricks secrets list-scopes to list scopes

however , are there URL method to list and delete secret scopes like

https://adb-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.azuredatabricks.net#secrets/createScope <<< to create secret scope ???

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

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 53,451 Reputation points Microsoft Employee
    2021-04-15T06:12:35.62+00:00

    Hello @sakuraime ,

    Unfortunately, there is no URL method to list and delete secret scopes.

    Note: You can use the Databricks CLI (version 0.7.1 and above) or Secrets API.

    To list the existing scopes in a workspace using the CLI: databricks secrets list-scopes

    Deleting a secret scope deletes all secrets and ACLs applied to the scope. To delete a scope using the CLI: databricks secrets delete-scope --scope <scope-name>

    88047-image.png

    For more details, Azure Databricks - Secret scopes.

    Hope this helps. Do let us know if you any further queries.


    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.


1 additional answer

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 12,411 Reputation points MVP
    2021-04-15T03:13:52.837+00:00

    Hi @sakuraime

    You can use the Databricks CLI (version 0.7.1 and above). Alternatively, you can use the Secrets API.

    The Secrets API allows you to manage secrets, secret scopes, and access permissions. To manage secrets, you must:

    Create a secret scope.
    Add your secrets to the scope.
    If you have the Azure Databricks Premium Plan, assign access control to the secret scope.

    Refer-
    https://learn.microsoft.com/en-us/azure/databricks/security/secrets/

    If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.

    No comments