<?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 Workload identity federation policy in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/workload-identity-federation-policy/m-p/133276#M4118</link>
    <description>&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;Can I create a single workload federation policy for all devops pipelines?&lt;/P&gt;&lt;P&gt;Our set-up : we have code version controlled in Github repos. And, we use Azure DevOps pipelines to authenticate with Databricks via a service principal currently and deploy the databricks jobs. We have around 25 Github repos and DevOps pipelines thereby. Can I use a single subject in the below kind of policy?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;databricks account service-principal-federation-policy create 5581763342009999 --json '{&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; "oidc_policy": {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"issuer": "&lt;A href="https://vstoken.dev.azure.com/abcdefghi" target="_blank"&gt;https://vstoken.dev.azure.com/abcdefghi&lt;/A&gt;",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"audiences": [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "api://AzureADTokenExchange"&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"subject": "p://my-org/my-project/my-pipeline"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;</description>
    <pubDate>Mon, 29 Sep 2025 15:39:11 GMT</pubDate>
    <dc:creator>noorbasha534</dc:creator>
    <dc:date>2025-09-29T15:39:11Z</dc:date>
    <item>
      <title>Workload identity federation policy</title>
      <link>https://community.databricks.com/t5/administration-architecture/workload-identity-federation-policy/m-p/133276#M4118</link>
      <description>&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;Can I create a single workload federation policy for all devops pipelines?&lt;/P&gt;&lt;P&gt;Our set-up : we have code version controlled in Github repos. And, we use Azure DevOps pipelines to authenticate with Databricks via a service principal currently and deploy the databricks jobs. We have around 25 Github repos and DevOps pipelines thereby. Can I use a single subject in the below kind of policy?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;databricks account service-principal-federation-policy create 5581763342009999 --json '{&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; "oidc_policy": {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"issuer": "&lt;A href="https://vstoken.dev.azure.com/abcdefghi" target="_blank"&gt;https://vstoken.dev.azure.com/abcdefghi&lt;/A&gt;",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"audiences": [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "api://AzureADTokenExchange"&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"subject": "p://my-org/my-project/my-pipeline"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Sep 2025 15:39:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/workload-identity-federation-policy/m-p/133276#M4118</guid>
      <dc:creator>noorbasha534</dc:creator>
      <dc:date>2025-09-29T15:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Workload identity federation policy</title>
      <link>https://community.databricks.com/t5/administration-architecture/workload-identity-federation-policy/m-p/133285#M4120</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/124839"&gt;@noorbasha534&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In docs they are giving following example of subject requirements for Azure Devops. So, the&amp;nbsp;subject (sub) claim must uniquely identify the workload. So as long as all of your pipelines resides in the same organization, same project and all of them are using the same service connection then you can have on single policy.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;"iss": "https://vstoken.dev.azure.com/&amp;lt;org_id&amp;gt;"
"aud": "api://AzureADTokenExchange"
"sub": "sc://my-org/my-project/my-connection"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The same applies to github.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
  "iss": "https://token.actions.githubusercontent.com",
  "aud": "https://github.com/my-github-org",
  "sub": "repo:my-github-org/my-repo:environment:prod"
}&lt;/LI-CODE&gt;&lt;P&gt;So, you can thing of subject in following way:&lt;/P&gt;&lt;P&gt;"This token was issued for workflows running in the &lt;STRONG&gt;prod&lt;/STRONG&gt; environment of &lt;STRONG&gt;my-repo&lt;/STRONG&gt; inside &lt;STRONG&gt;my-github-org&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;So as long as your pipelines are defined in the same organization -&amp;gt; repo -&amp;gt; env then you can use single policy.&lt;BR /&gt;&lt;BR /&gt;This is quite interesting question and I can try to validate on my own environment, but I think I will find time only at the second part of this week.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 17:16:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/workload-identity-federation-policy/m-p/133285#M4120</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-09-29T17:16:17Z</dc:date>
    </item>
  </channel>
</rss>

