<?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: Amazon SES : boto3 credentials not found. DBR 11.2 Shared mode in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/amazon-ses-boto3-credentials-not-found-dbr-11-2-shared-mode/m-p/39635#M27043</link>
    <description>&lt;P&gt;This appears to be an intentional design choice to prevent users from using the credentials of the host machine to carry out arbitrary AWS API calls. I really wish there was a workaround or setting to disable this behavior because we put a lot of work into crafting IAM roles that grant the appropriate permissions for users of our clusters.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2023 12:30:31 GMT</pubDate>
    <dc:creator>JameDavi_51481</dc:creator>
    <dc:date>2023-08-11T12:30:31Z</dc:date>
    <item>
      <title>Amazon SES : boto3 credentials not found. DBR 11.2 Shared mode</title>
      <link>https://community.databricks.com/t5/data-engineering/amazon-ses-boto3-credentials-not-found-dbr-11-2-shared-mode/m-p/31530#M22968</link>
      <description>&lt;P&gt;We're trying to send email using Amazon SES using boto3.client in python. We've added SES Full access in clusters IAM Role.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We were able to send email in "No isolation shared" mode in DBR 11.2 using&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ses = boto3.client('ses', region_name='us-****-2')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;ses.send_raw_email(&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;Source=msg['FROM'],&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;Destinations=to_emails,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;RawMessage={'Data': msg.as_string()})&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But we're getting "&lt;STRONG&gt;Unable to locate credentials&lt;/STRONG&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="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1483i8B719C3FD8A55712/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this expected result in shared mode ? Do we need to add access key &amp;amp; secret key in order to send email in Shared mode ?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 14:30:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/amazon-ses-boto3-credentials-not-found-dbr-11-2-shared-mode/m-p/31530#M22968</guid>
      <dc:creator>parthsalvi</dc:creator>
      <dc:date>2025-03-21T14:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Amazon SES : boto3 credentials not found. DBR 11.2 Shared mode</title>
      <link>https://community.databricks.com/t5/data-engineering/amazon-ses-boto3-credentials-not-found-dbr-11-2-shared-mode/m-p/39635#M27043</link>
      <description>&lt;P&gt;This appears to be an intentional design choice to prevent users from using the credentials of the host machine to carry out arbitrary AWS API calls. I really wish there was a workaround or setting to disable this behavior because we put a lot of work into crafting IAM roles that grant the appropriate permissions for users of our clusters.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 12:30:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/amazon-ses-boto3-credentials-not-found-dbr-11-2-shared-mode/m-p/39635#M27043</guid>
      <dc:creator>JameDavi_51481</dc:creator>
      <dc:date>2023-08-11T12:30:31Z</dc:date>
    </item>
  </channel>
</rss>

