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: 

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.

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