0
votes

dbutils.secrets does not seem to have a method for deletion of any existing Azure Keyvault-backed Secret Scope in Databricks. enter image description here

Here is the documentation for creation and management of secret scopes in Databricks- https://docs.microsoft.com/en-us/azure/databricks/security/secrets/secret-scopes#akv-ss

The documentation does list a method to delete a Databricks-backed secret scope but none for a Keyvault-backed one.

1

1 Answers

0
votes

Note: There is no dbutils.secret command to delete the secret-scopes, you need to use the Databricks CLI to delete the scopes.

You can use the same command which is available in document to delete a Databricks backend managed scopes and Azure KeyVault Backend managed scopes.

databricks secrets delete-scope --scope <scope-name>

Here is the example for deleting scopes for Databricks Backend and Azure KeyVault Backend scopes.

enter image description here

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