cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
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!!

Thanks for reading and like if this is useful and for improvements or feedback please comment.

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!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group