<?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: How to get Dynatrace Managed Cluster Token Automatically after installation? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-Dynatrace-Managed-Cluster-Token-Automatically-after/m-p/211064#M2476</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can use this endpoint to create a new cluster token&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-cluster-tokens-create-new" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/api-cluster-tokens-create-new&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For that, you need to generate an API token with&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;ClusterTokenManagement&lt;/STRONG&gt; permission, please check the below document.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-authentication#create-token" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/api-authentication#create-token&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Islam&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 May 2023 07:43:19 GMT</pubDate>
    <dc:creator>Islam_Zedan</dc:creator>
    <dc:date>2023-05-01T07:43:19Z</dc:date>
    <item>
      <title>How to get Dynatrace Managed Cluster Token Automatically after installation?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-Dynatrace-Managed-Cluster-Token-Automatically-after/m-p/211011#M2475</link>
      <description>&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;I am trying to automate my deployment of Dynatrace Managed, and the Cluster API seems useful for most of the setup, but I'm having trouble automating getting a token to access the Cluster API.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;P&gt;The Cluster API has an endpoint to create new Tokens, but I need a Token to authorize and use that endpoint, so it's a circular dependency.&lt;/P&gt;
&lt;P&gt;I noticed an "afterInstallation" token in the Cluster Management Console (CMC), is there any way I might be able to retrieve that token? My idea was to somehow grab the "afterInstallation" token right after installing dynatrace managed, but I don't know how.&lt;/P&gt;
&lt;P&gt;I have ssh access to the nodes in the cluster and the admin username/password. The manual way would be to login to the CMC and go to Settings &amp;gt; API Tokens &amp;gt; Cluster tokens &amp;gt; Generate token.&lt;/P&gt;
&lt;P&gt;Is there a way to generate or obtain a token via CLI that doesn't depend on already having a token?&lt;/P&gt;
&lt;P&gt;(Question originally posted on:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/76121091/how-to-get-dynatrace-managed-cluster-token-automatically-after-installation" target="_blank" rel="noopener"&gt;How to get Dynatrace Managed Cluster Token Automatically after installation? - Stack Overflow&lt;/A&gt;)&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 May 2023 11:34:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-Dynatrace-Managed-Cluster-Token-Automatically-after/m-p/211011#M2475</guid>
      <dc:creator>ta12345</dc:creator>
      <dc:date>2023-05-08T11:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Dynatrace Managed Cluster Token Automatically after installation?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-Dynatrace-Managed-Cluster-Token-Automatically-after/m-p/211064#M2476</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can use this endpoint to create a new cluster token&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-cluster-tokens-create-new" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/api-cluster-tokens-create-new&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For that, you need to generate an API token with&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;ClusterTokenManagement&lt;/STRONG&gt; permission, please check the below document.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-authentication#create-token" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/api-authentication#create-token&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Islam&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 07:43:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-Dynatrace-Managed-Cluster-Token-Automatically-after/m-p/211064#M2476</guid>
      <dc:creator>Islam_Zedan</dc:creator>
      <dc:date>2023-05-01T07:43:19Z</dc:date>
    </item>
  </channel>
</rss>

