cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

How do we concatenate some fixed string with a secret value in Spark Config in Databricks Job Cluster?

debanjan89
New Contributor II

Hi Team,

I am trying to configure access to adls through Service Principal through Spark Config in Databricks job cluster. like, 

fs.azure.account.oauth2.client.id.<adls_account_name>.dfs.core.windows.net {{secrets/scopeName/clientID}}

The above statement works fine..

How do we concatenate some fixed string with a secret value?

For example, 

fs.azure.account.oauth2.client.endpoint.<adls_account_name>.dfs.core.windows.net "https://login.microsoftonline.com/"+{{secrets/scopeName/tenantID}}+/"oauth2/token"

or

fs.azure.account.oauth2.client.endpoint.<adls_account_name>.dfs.core.windows.net https://login.microsoftonline.com/{{secrets/scopeName/tenantID}}/oauth2/token

3 REPLIES 3

Vidula
Honored Contributor

Hi @Debanjan Ray​ 

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!

Manimkm08
New Contributor III

@Debanjan Ray​ @Vidula Khanna​ Am also facing the issue. Can someone please share the solution or workaround for the issue. Would be helpful for others like me who are facing the issue in future.

Manimkm08
New Contributor III

@Kaniz Fatma​ We are blocked on this issue. Can you please look into the thread and give your suggestion to workaround it.

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.