cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
cancel
Showing results for 
Search instead for 
Did you mean: 

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

3 REPLIES 3

Chaitanya_Raju
Honored Contributor

Hi @Gil Gonong​ ,

Can you please try the mentioned options in the below article, hope it will get resolved. I believe it might be just because of the access issue between the Key Vault and Databricks.

https://kb.databricks.com/en_US/security/troubleshoot-key-vault-access

Happy Learning!!

Hi

Yeah, saw that actually. But I am able to create the secret scope. I think it also worth mentioning that my workspace has Unity Catalog enabled.

Anonymous
Not applicable

Hi @Gil Gonong​ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.