<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: parameterize azure storage account name in spark cluster config databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27448#M19320</link>
    <description>&lt;P&gt;@baatch us​&amp;nbsp; the cluster config works irrespective  to different environment. so you can change the cluster config based on your requirement. So is it like you want to use different storage account ?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 14:41:20 GMT</pubDate>
    <dc:creator>Atanu</dc:creator>
    <dc:date>2022-03-03T14:41:20Z</dc:date>
    <item>
      <title>parameterize azure storage account name in spark cluster config databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27446#M19318</link>
      <description>&lt;P&gt;wondering if this is to parameterize the azure storage account name part in the spark cluster config in Databricks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a working example where the values are referencing secret scopes:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.hadoop.fs.azure.account.oauth2.client.id.&amp;lt;azurestorageaccountname&amp;gt;.dfs.core.windows.net {{secrets/keyvault_secret_scope/sp-id}}
spark.hadoop.fs.azure.account.oauth.provider.type.&amp;lt;azurestorageaccountname&amp;gt;.dfs.core.windows.net org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider
spark.hadoop.fs.azure.account.oauth2.client.endpoint.&amp;lt;azurestorageaccountname&amp;gt;.dfs.core.windows.net &lt;A href="https://login.microsoftonline.com/05646f53-5e81-4a6a-85f5-a1ee2189bea4/oauth2/token" target="test_blank"&gt;https://login.microsoftonline.com/05646f53-5e81-4a6a-85f5-a1ee2189bea4/oauth2/token&lt;/A&gt;
spark.hadoop.fs.azure.account.auth.type.&amp;lt;azurestorageaccountname&amp;gt;.dfs.core.windows.net OAuth
spark.hadoop.fs.azure.account.oauth2.client.secret.&amp;lt;azurestorageaccountname&amp;gt;.dfs.core.windows.net {{secrets/keyvault_secret_scope/sp-secret}}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not work if I try it on the keys:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.hadoop.fs.azure.account.oauth2.client.id.{{secrets/keyvault_secret_scope/azurestorageaccountname}}.dfs.core.windows.net {{secrets/keyvault_secret_scope/sp-id}}
&amp;nbsp;
spark.hadoop.fs.azure.account.oauth.provider.type.{{secrets/keyvault_secret_scope/azurestorageaccountname}}.dfs.core.windows.net org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider
&amp;nbsp;
spark.hadoop.fs.azure.account.oauth2.client.endpoint.{{secrets/keyvault_secret_scope/azurestorageaccountname}}.dfs.core.windows.net &lt;A href="https://login.microsoftonline.com/05646f53-5e81-4a6a-85f5-a1ee2189bea4/oauth2/token" target="test_blank"&gt;https://login.microsoftonline.com/05646f53-5e81-4a6a-85f5-a1ee2189bea4/oauth2/token&lt;/A&gt;
&amp;nbsp;
spark.hadoop.fs.azure.account.auth.type.{{secrets/keyvault_secret_scope/azurestorageaccountname}}.dfs.core.windows.net OAuth
&amp;nbsp;
spark.hadoop.fs.azure.account.oauth2.client.secret.{{secrets/keyvault_secret_scope/azurestorageaccountname}}.dfs.core.windows.net {{secrets/keyvault_secret_scope/sp-secret}}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is impossible how can you replace the cluster config between environments? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the azure storage account name to be different in DEV vs PROD.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 11:36:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27446#M19318</guid>
      <dc:creator>baatchus</dc:creator>
      <dc:date>2022-02-22T11:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: parameterize azure storage account name in spark cluster config databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27447#M19319</link>
      <description>&lt;P&gt;Howdy, @baatch us​! Thank you for bringing your question to the community! We'll give other members a chance to respond before we come back around if we need to. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 18:24:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27447#M19319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-22T18:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: parameterize azure storage account name in spark cluster config databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27448#M19320</link>
      <description>&lt;P&gt;@baatch us​&amp;nbsp; the cluster config works irrespective  to different environment. so you can change the cluster config based on your requirement. So is it like you want to use different storage account ?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 14:41:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27448#M19320</guid>
      <dc:creator>Atanu</dc:creator>
      <dc:date>2022-03-03T14:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: parameterize azure storage account name in spark cluster config databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27449#M19321</link>
      <description>&lt;P&gt;I found the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could just remove the specific storage account and have the credentials be generic for all storage accounts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/71220563/parameterize-azure-storage-account-name-in-spark-cluster-config-databricks/71258782#71258782" target="test_blank"&gt;https://stackoverflow.com/questions/71220563/parameterize-azure-storage-account-name-in-spark-cluster-config-databricks/71258782#71258782&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 22:29:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27449#M19321</guid>
      <dc:creator>baatchus</dc:creator>
      <dc:date>2022-03-03T22:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: parameterize azure storage account name in spark cluster config databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27450#M19322</link>
      <description>&lt;P&gt;Fantastic! Thanks for letting us know!&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2022 22:10:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parameterize-azure-storage-account-name-in-spark-cluster-config/m-p/27450#M19322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-06T22:10:02Z</dc:date>
    </item>
  </channel>
</rss>

