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

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!