question

sakuraime avatar image
0 Votes"
sakuraime asked PRADEEPCHEEKATLA-MSFT commented

azure databricks list and delete screte scopes

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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

To follow-up, Please let us know if you have further query on this.
Please don’t forget to Accept the answer

0 Votes 0 ·
PRADEEPCHEEKATLA-MSFT avatar image
0 Votes"
PRADEEPCHEEKATLA-MSFT answered PRADEEPCHEEKATLA-MSFT commented

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.



image.png (112.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @sakuraime,

Just checking in to see if the above answer helped. If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

0 Votes 0 ·
learn2skills avatar image
0 Votes"
learn2skills answered

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://docs.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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.