<?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: AWS Secrets Works In One Cluster But Not Another in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/aws-secrets-works-in-one-cluster-but-not-another/m-p/50812#M28900</link>
    <description>&lt;P&gt;Nice reply from chat GPT, but it seems that the true cause is that Databricks intentionally prevent &lt;SPAN&gt;prevent users from using the credentials of the host machine.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 10:05:10 GMT</pubDate>
    <dc:creator>Szpila</dc:creator>
    <dc:date>2023-11-10T10:05:10Z</dc:date>
    <item>
      <title>AWS Secrets Works In One Cluster But Not Another</title>
      <link>https://community.databricks.com/t5/data-engineering/aws-secrets-works-in-one-cluster-but-not-another/m-p/40342#M27183</link>
      <description>&lt;P&gt;Why can I use boto3 to go to secrets manager to retrieve a secret with a personal cluster but I get an error with a shared cluster?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;NoCredentialsError&lt;/SPAN&gt;&lt;SPAN&gt;: Unable to locate credentials&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 23:01:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/aws-secrets-works-in-one-cluster-but-not-another/m-p/40342#M27183</guid>
      <dc:creator>dbdude</dc:creator>
      <dc:date>2023-08-17T23:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: AWS Secrets Works In One Cluster But Not Another</title>
      <link>https://community.databricks.com/t5/data-engineering/aws-secrets-works-in-one-cluster-but-not-another/m-p/50812#M28900</link>
      <description>&lt;P&gt;Nice reply from chat GPT, but it seems that the true cause is that Databricks intentionally prevent &lt;SPAN&gt;prevent users from using the credentials of the host machine.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 10:05:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/aws-secrets-works-in-one-cluster-but-not-another/m-p/50812#M28900</guid>
      <dc:creator>Szpila</dc:creator>
      <dc:date>2023-11-10T10:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: AWS Secrets Works In One Cluster But Not Another</title>
      <link>https://community.databricks.com/t5/data-engineering/aws-secrets-works-in-one-cluster-but-not-another/m-p/58300#M31092</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/87529"&gt;@Szpila&lt;/a&gt;&amp;nbsp;, have you found a solution for it? I am currently encountering the same issue.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 04:56:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/aws-secrets-works-in-one-cluster-but-not-another/m-p/58300#M31092</guid>
      <dc:creator>drii_cavalcanti</dc:creator>
      <dc:date>2024-01-24T04:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: AWS Secrets Works In One Cluster But Not Another</title>
      <link>https://community.databricks.com/t5/data-engineering/aws-secrets-works-in-one-cluster-but-not-another/m-p/68178#M33578</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/86872"&gt;@dbdude&lt;/a&gt;, I am facing the same error. Did you find a solution to access the AWS credentials on a Shared Cluster?&lt;/P&gt;&lt;P&gt;This article describes a way of storing credentials in a Unity Catalog Volume to fetch by the Shared Cluster:&lt;/P&gt;&lt;P&gt;&lt;A href="https://medium.com/@amlucius/securely-accessing-external-services-on-databricks-shared-clusters-with-uc-volumes-9235616b9b02" target="_blank"&gt;https://medium.com/@amlucius/securely-accessing-external-services-on-databricks-shared-clusters-with-uc-volumes-9235616b9b02&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I am not a fan of storing the credentials in a Bucket..&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;The reason why fetching the AWS credentials on a Shared Cluster does not work is a limitation of the network and file system access of Shared Clusters. See&amp;nbsp;&lt;A href="https://docs.databricks.com/en/compute/access-mode-limitations.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/compute/access-mode-limitations.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cannot connect to the instance metadata service (IMDS), other EC2 instances, or any other services running in the Databricks VPC. This prevents access to any service that uses the IMDS, such as boto3 and the AWS CLI.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 09:57:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/aws-secrets-works-in-one-cluster-but-not-another/m-p/68178#M33578</guid>
      <dc:creator>Husky</dc:creator>
      <dc:date>2024-05-06T09:57:59Z</dc:date>
    </item>
  </channel>
</rss>

