<?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 Need to create an Identity Federation between my Databricks workspace/account and my AWS account in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/need-to-create-an-identity-federation-between-my-databricks/m-p/107791#M2897</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to set up an identification between my Databricks workspace/account and my AWS account, where Databricks is already deployed.&lt;/P&gt;&lt;P&gt;The goal is to make an easy authentification without access and secret keys.&lt;/P&gt;&lt;P&gt;So I thought that OIDC will be the solution, but sadly, it's not clear on the documentation.&lt;BR /&gt;Everything on OIDC is about SSO, that's not really what I want.&lt;/P&gt;&lt;P&gt;What is the OIDC url to use to create a federated identity on AWS, to easily assume a role and get some privileges?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 11:51:18 GMT</pubDate>
    <dc:creator>axelboursin</dc:creator>
    <dc:date>2025-01-30T11:51:18Z</dc:date>
    <item>
      <title>Need to create an Identity Federation between my Databricks workspace/account and my AWS account</title>
      <link>https://community.databricks.com/t5/administration-architecture/need-to-create-an-identity-federation-between-my-databricks/m-p/107791#M2897</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to set up an identification between my Databricks workspace/account and my AWS account, where Databricks is already deployed.&lt;/P&gt;&lt;P&gt;The goal is to make an easy authentification without access and secret keys.&lt;/P&gt;&lt;P&gt;So I thought that OIDC will be the solution, but sadly, it's not clear on the documentation.&lt;BR /&gt;Everything on OIDC is about SSO, that's not really what I want.&lt;/P&gt;&lt;P&gt;What is the OIDC url to use to create a federated identity on AWS, to easily assume a role and get some privileges?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 11:51:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/need-to-create-an-identity-federation-between-my-databricks/m-p/107791#M2897</guid>
      <dc:creator>axelboursin</dc:creator>
      <dc:date>2025-01-30T11:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create an Identity Federation between my Databricks workspace/account and my AWS account</title>
      <link>https://community.databricks.com/t5/administration-architecture/need-to-create-an-identity-federation-between-my-databricks/m-p/137469#M4354</link>
      <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;To set up identification between your Databricks workspace/account and your AWS account without using access or secret keys, you can leverage OIDC (OpenID Connect) federation. Instead of traditional SSO, what you’re looking for is a model where AWS trusts your Databricks-issued identities such that Databricks users or workloads can assume roles in your AWS account using an OIDC provider and receive temporary AWS credentials.&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;OIDC Identity Provider URL for AWS Federation&lt;/H2&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;For AWS to trust Databricks identities via OIDC, AWS needs the issuer URL (OIDC discovery endpoint) from Databricks. The URL structure depends on whether your Databricks deployment uses unified login and if you're configuring at workspace level or account level:&lt;/P&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If using workspace-level OIDC and unified login is enabled:&lt;/P&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;CODE&gt;https://&amp;lt;your-workspace-hostname&amp;gt;/oidc/.well-known/openid-configuration&lt;/CODE&gt;&lt;/P&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;For example:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&lt;A href="https://abc-def.cloud.databricks.com/oidc/.well-known/openid-configuration" target="_blank"&gt;https://abc-def.cloud.databricks.com/oidc/.well-known/openid-configuration&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If not using unified login or configuring at the Databricks account level:&lt;/P&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;CODE&gt;&lt;A href="https://accounts.cloud.databricks.com/oidc/accounts/" target="_blank"&gt;https://accounts.cloud.databricks.com/oidc/accounts/&lt;/A&gt;&amp;lt;your-databricks-account-id&amp;gt;/.well-known/openid-configuration&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;You can find your Databricks account ID in your Databricks admin console. Use the appropriate URL as the "Provider URL" when setting up the OIDC IdP in AWS IAM.​&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Steps to Federate AWS IAM with Databricks OIDC&lt;/H2&gt;
&lt;OL class="marker:text-quiet list-decimal"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Get Databricks OIDC URL:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Identify which URL (workspace vs. account) fits your setup.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Register OIDC IdP in AWS:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;In AWS IAM, create a new "Identity Provider" of type "OIDC." Use the Databricks OIDC discovery URL above as the provider URL.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Configure IAM Role Trust Policy:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;In the trust policy for the role you want Databricks workloads/users to assume, specify the newly created OIDC provider as the principal and define the appropriate audience and conditions.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Assume Role from Databricks:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Use Databricks features/applications (such as Unity Catalog, cluster configuration, or relevant APIs) that support OIDC-based AWS role assumption.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;This approach avoids exposing static access or secret keys and leverages short-lived, federated authentication.​&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Practical Example&lt;/H2&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If your workspace is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;mycompany.cloud.databricks.com&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and your account ID is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;123456789012&lt;/CODE&gt;, the URL for AWS would be:&lt;/P&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;CODE&gt;&lt;A href="https://mycompany.cloud.databricks.com/oidc/.well-known/openid-configuration" target="_blank"&gt;https://mycompany.cloud.databricks.com/oidc/.well-known/openid-configuration&lt;/A&gt;&lt;/CODE&gt;&lt;BR /&gt;or (account level):&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;CODE&gt;&lt;A href="https://accounts.cloud.databricks.com/oidc/accounts/123456789012/.well-known/openid-configuration" target="_blank"&gt;https://accounts.cloud.databricks.com/oidc/accounts/123456789012/.well-known/openid-configuration&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;These discovery endpoints allow AWS to validate tokens issued by Databricks for federated role assumption.​&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;References&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;OIDC metadata URI and typical setup practices:​&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Official Databricks documentation for OIDC/OAuth federation:​&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If you follow these steps and use the correct OIDC URL structure for your deployment, AWS will be able to trust identities from your Databricks workspace via OIDC federation, letting you assign privileges in a secure, keyless way.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2025 21:23:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/need-to-create-an-identity-federation-between-my-databricks/m-p/137469#M4354</guid>
      <dc:creator>mark_ott</dc:creator>
      <dc:date>2025-11-03T21:23:06Z</dc:date>
    </item>
  </channel>
</rss>

