<?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: Secure Dynatrace API Token in Exported Azure ARM Templates in Cloud platforms</title>
    <link>https://community.dynatrace.com/t5/Cloud-platforms/Secure-Dynatrace-API-Token-in-Exported-Azure-ARM-Templates/m-p/291570#M2216</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/90573"&gt;@Jet&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Dec 2025 13:22:16 GMT</pubDate>
    <dc:creator>IzabelaRokita</dc:creator>
    <dc:date>2025-12-16T13:22:16Z</dc:date>
    <item>
      <title>Secure Dynatrace API Token in Exported Azure ARM Templates</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Secure-Dynatrace-API-Token-in-Exported-Azure-ARM-Templates/m-p/282768#M2109</link>
      <description>&lt;P class=""&gt;We are installing the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Dynatrace OneAgent&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;on an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Azure Managed Service Fabric cluster&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Azure ARM template. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Dynatrace API token&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is passed as a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;secret value&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with a reference to an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Azure Key Vault secret.&lt;/P&gt;
&lt;P class=""&gt;Basically, the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Azure Virtual Machine Scale Set (VMSS) extension&amp;nbsp;&lt;/STRONG&gt;is installed on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Azure Managed Service Fabric cluster node type. We cannot install the extension directly on the VMSS because it will be deleted during the next&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Azure Managed Service Fabric cluster update. Instead, it must be installed as an extension on the Service Fabric cluster , as documented in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Microsoft's official documentation.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
  "name": "dynatrace",
  "properties": {
    "publisher": "dynatrace.ruxit",
    "type": "&amp;lt;Extension-Type&amp;gt;",
    "typeHandlerVersion": "&amp;lt;Extension-Version&amp;gt;",
    "autoUpgradeMinorVersion": true,
    "settings": {
        "tenantId": "&amp;lt;Environment-ID&amp;gt;",
        "token": "&amp;lt;API-Token&amp;gt;",
        "server": "&amp;lt;Server-Url&amp;gt;",
        "enableLogAnalytics": "yes",
        "hostGroup": "&amp;lt;Host-Group&amp;gt;"
    },
  }
}&lt;/LI-CODE&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;The issue is that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;anyone with permissions&amp;nbsp;to export the&amp;nbsp;ARM template&amp;nbsp;of the&amp;nbsp;Azure Managed Service Fabric cluster&amp;nbsp;from the&amp;nbsp;Azure Portal&amp;nbsp;can see the&amp;nbsp;Dynatrace API token&amp;nbsp;in the exported template, which poses a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;security risk&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P class=""&gt;However, if we install the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;OneAgent&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Azure CLI&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;directly on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Azure Virtual Machine&lt;/STRONG&gt;, this issue does not occur. The exported ARM template does not include plain text Dynatrace API token.&lt;/P&gt;
&lt;P class=""&gt;Is it possible to mitigate the Dynatrace access token exposure in this case when One agent is installed via ARM template not with az cli or Powershell ?&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Dec 2025 13:21:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Secure-Dynatrace-API-Token-in-Exported-Azure-ARM-Templates/m-p/282768#M2109</guid>
      <dc:creator>Jet</dc:creator>
      <dc:date>2025-12-16T13:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Dynatrace API Token in Exported Azure ARM Templates</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Secure-Dynatrace-API-Token-in-Exported-Azure-ARM-Templates/m-p/291570#M2216</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/90573"&gt;@Jet&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 13:22:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Secure-Dynatrace-API-Token-in-Exported-Azure-ARM-Templates/m-p/291570#M2216</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-16T13:22:16Z</dc:date>
    </item>
  </channel>
</rss>

