INVALID_STATE: Databricks could not access keyvault

Gilg
Contributor II

Hi Team,

Update: We are using Unity Catalog workspace. Also we are using RBAC model.

I am able to create a secret scope and able to list the scope in a notebook using

dbutils.secrets.list("<scopename>")

But when I try get the secret value using

value = dbutils.secrets.get("<KeyvaultSecretScope>", "<SecretName>")

I am getting the following error

com.databricks.common.client.DatabricksServiceHttpClientException: INVALID_STATE: Databricks could not access keyvault:

Thanks.

G