<?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: configure AWS authentication for serverless Spark in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134291#M50078</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, I'm a newbie. Currently, I can only append S3 to external data through role. For your suggestion about using UC, can I convert the CSV file in S3 into a volume in UC only through id and key, or is there another method&lt;/P&gt;</description>
    <pubDate>Thu, 09 Oct 2025 02:16:01 GMT</pubDate>
    <dc:creator>liu</dc:creator>
    <dc:date>2025-10-09T02:16:01Z</dc:date>
    <item>
      <title>configure AWS authentication for serverless Spark</title>
      <link>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134177#M50043</link>
      <description>&lt;P&gt;I only have an AWS Access Key ID and Secret Access Key, and I want to use this information to access S3.&lt;/P&gt;&lt;P&gt;However, the official documentation states that I need to set the AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID environment variables, but I cannot find a way to set these two environment variables.&lt;/P&gt;&lt;P&gt;documentation:&amp;nbsp;&lt;A href="https://docs.databricks.com/gcp/en/connect/storage/amazon-s3" target="_blank"&gt;Connect to Amazon S3 | Databricks on Google Cloud&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 09:12:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134177#M50043</guid>
      <dc:creator>liu</dc:creator>
      <dc:date>2025-10-08T09:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: configure AWS authentication for serverless Spark</title>
      <link>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134179#M50044</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/175193"&gt;@liu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The proper way is to go to your cluster and in advanced section you can set them up. In that way they will be scoped at cluster level.&amp;nbsp; It's recommended to store values itself in a secret scopes as environment variables:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/security/secrets/secrets-spark-conf-env-var" target="_blank" rel="noopener"&gt;Use a secret in a Spark configuration property or environment variable | Databricks on AWS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1759915139280.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20556i829DB7CD50C8D015/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1759915139280.png" alt="szymon_dybczak_0-1759915139280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But you can also configure it at a notebook scope. I think following python snippet will be sufficient:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import os
os.environ["AWS_ACCESS_KEY_ID"] = "your-access-key"
os.environ["AWS_SECRET_ACCESS_KEY"] = "your-secret-key"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 09:29:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134179#M50044</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-10-08T09:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: configure AWS authentication for serverless Spark</title>
      <link>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134189#M50045</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your answer,&lt;BR /&gt;But I can't use other &lt;SPAN&gt;cluster&amp;nbsp;&lt;/SPAN&gt;, I can only use serverless, can I set them for&amp;nbsp;serverless?&lt;/P&gt;&lt;P&gt;I also&amp;nbsp;&lt;SPAN&gt;configure it at a notebook scope,&amp;nbsp;&amp;nbsp;but they are not working properly at the moment. I have been told that I do not have permission, and I am still investigating.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 09:29:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134189#M50045</guid>
      <dc:creator>liu</dc:creator>
      <dc:date>2025-10-08T09:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: configure AWS authentication for serverless Spark</title>
      <link>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134192#M50047</link>
      <description>&lt;P&gt;Sorry, somehow I didn't notice serveless in a thread title &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; But I guess setting env variables at notebook scope should work.&amp;nbsp;&lt;BR /&gt;One question, is there any reason why can't you use UC? The above way is a depracted method of configuring storage.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 09:38:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134192#M50047</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-10-08T09:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: configure AWS authentication for serverless Spark</title>
      <link>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134194#M50048</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/175193"&gt;@liu&lt;/a&gt;&amp;nbsp;, I guess this could be related to Serveless limitation. In documentation they are saying that you must use Unity Catalog to connect to external data sources. Probably that's why you can connect &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1759917884603.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20563iF5A574455A679F4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1759917884603.png" alt="szymon_dybczak_0-1759917884603.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 10:05:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134194#M50048</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-10-08T10:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: configure AWS authentication for serverless Spark</title>
      <link>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134291#M50078</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, I'm a newbie. Currently, I can only append S3 to external data through role. For your suggestion about using UC, can I convert the CSV file in S3 into a volume in UC only through id and key, or is there another method&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 02:16:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134291#M50078</guid>
      <dc:creator>liu</dc:creator>
      <dc:date>2025-10-09T02:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: configure AWS authentication for serverless Spark</title>
      <link>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134293#M50080</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your answer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I will try my best to link the content of S3 with UC&lt;/P&gt;&lt;P&gt;Once more, thank you&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 02:31:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134293#M50080</guid>
      <dc:creator>liu</dc:creator>
      <dc:date>2025-10-09T02:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: configure AWS authentication for serverless Spark</title>
      <link>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134313#M50087</link>
      <description>&lt;P&gt;No problem&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/175193"&gt;@liu&lt;/a&gt;&amp;nbsp;, if you need some help with setting up UC we are here to help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 07:10:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/configure-aws-authentication-for-serverless-spark/m-p/134313#M50087</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-10-09T07:10:34Z</dc:date>
    </item>
  </channel>
</rss>

