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