cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Best practice for Azure Key vault secrets in spark config

datakilljoy
New Contributor II

Hello

I created a compute in which I refer the secret inside the spark config like this: 

spark.hadoop.fs.azure.account.key.xxxxxxxxxx.dfs.core.windows.net {{secrets/kv-xxxxxxx-xxxx/secret-name}}

 

 

This, however, gives me the following warning.

 

datakilljoy_0-1704724007789.png

 

 
I've looked at the documentation but what I'm writing in the spark config is already the reference to the secret in the secret scope created in databricks (that points to the kv in azure) so I think i'm not understanding correctly
 
Can someone who's gone through the same situation give me some light here pls? Thank you
1 REPLY 1

datakilljoy
New Contributor II

Extra info: I have used the format following the instructions on this page for spark configuration

https://learn.microsoft.com/en-us/azure/databricks/connect/storage/azure-storage#:~:text=Use%20the%2...

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