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!!

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!

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!