<?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: What's the recommended way to use secrets within Global init scripts? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/100937#M40482</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;How did you solve this issue? Did you manage to get the secrets through global init script?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 15:23:25 GMT</pubDate>
    <dc:creator>peta</dc:creator>
    <dc:date>2024-12-04T15:23:25Z</dc:date>
    <item>
      <title>What's the recommended way to use secrets within Global init scripts?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/20017#M13500</link>
      <description />
      <pubDate>Fri, 25 Jun 2021 05:19:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/20017#M13500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-25T05:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: What's the recommended way to use secrets within Global init scripts?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/20018#M13501</link>
      <description>&lt;P&gt;The order of execution of init scripts is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Legacy global (deprecated)&lt;/LI&gt;&lt;LI&gt;Cluster-named (deprecated)&lt;/LI&gt;&lt;LI&gt;Global (new)&lt;/LI&gt;&lt;LI&gt;Cluster-scoped&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arfrenece link that can help is -&amp;nbsp;https://docs.databricks.com/clusters/init-scripts.html#global-init-scripts&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 09:54:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/20018#M13501</guid>
      <dc:creator>User16826994223</dc:creator>
      <dc:date>2021-06-25T09:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: What's the recommended way to use secrets within Global init scripts?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/20019#M13502</link>
      <description>&lt;P&gt;You could  specify a secret path in an&amp;nbsp;&lt;A href="https://docs.databricks.com/clusters/configure.html#environment-variables" alt="https://docs.databricks.com/clusters/configure.html#environment-variables" target="_blank"&gt;environment &lt;/A&gt; at the cluster level &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SPARKPASSWORD=&amp;lt;path-value&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this would be available in  &lt;A href="https://docs.databricks.com/clusters/init-scripts.html#environment-variables" alt="https://docs.databricks.com/clusters/init-scripts.html#environment-variables" target="_blank"&gt;global init scripts&lt;/A&gt; / &lt;A href="https://docs.databricks.com/clusters/init-scripts.html#environment-variables" alt="https://docs.databricks.com/clusters/init-scripts.html#environment-variables" target="_blank"&gt;cluster-scoped init script&lt;/A&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if [[ $SPARKPASSWORD ]]; then
  use $SPARKPASSWORD
fi&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 17:32:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/20019#M13502</guid>
      <dc:creator>sajith_appukutt</dc:creator>
      <dc:date>2021-06-25T17:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: What's the recommended way to use secrets within Global init scripts?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/20020#M13503</link>
      <description>&lt;P&gt;I also have this question, and I don't understand the answer from  @Sajith Appukuttan​&amp;nbsp;. This solution would require configuring each new cluster separately with the correct environment variable, correct? That seems like it defeats the purpose of using a global init script. Is there a method that does not require configuration of each new cluster separately?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 15:57:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/20020#M13503</guid>
      <dc:creator>sstrong99</dc:creator>
      <dc:date>2022-12-08T15:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: What's the recommended way to use secrets within Global init scripts?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/100937#M40482</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;How did you solve this issue? Did you manage to get the secrets through global init script?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 15:23:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-s-the-recommended-way-to-use-secrets-within-global-init/m-p/100937#M40482</guid>
      <dc:creator>peta</dc:creator>
      <dc:date>2024-12-04T15:23:25Z</dc:date>
    </item>
  </channel>
</rss>

