<?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: scripting API queries without hardcoded access token in the script in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Scripting-API-queries-without-hardcoded-access-token-in-the/m-p/213349#M2523</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe you can use environment variables or asking token in prompt.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Sat, 27 May 2023 14:11:49 GMT</pubDate>
    <dc:creator>AntonPineiro</dc:creator>
    <dc:date>2023-05-27T14:11:49Z</dc:date>
    <item>
      <title>Scripting API queries without hardcoded access token in the script</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Scripting-API-queries-without-hardcoded-access-token-in-the/m-p/213340#M2522</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I've written several scripts for various tasks with the Dynatrace API but updated security requirements are going to be prohibiting me from having our API token hard coded in the script.&amp;nbsp; &amp;nbsp; &amp;nbsp;I was wondering how others have dealt with this... how I can pass a credential to the API without having it in the actual script that would satisfy our security team.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any thoughts on this.&lt;/P&gt;
&lt;P&gt;-Jeff&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 13:57:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Scripting-API-queries-without-hardcoded-access-token-in-the/m-p/213340#M2522</guid>
      <dc:creator>jdport</dc:creator>
      <dc:date>2024-08-20T13:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: scripting API queries without hardcoded access token in the script</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Scripting-API-queries-without-hardcoded-access-token-in-the/m-p/213349#M2523</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe you can use environment variables or asking token in prompt.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2023 14:11:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Scripting-API-queries-without-hardcoded-access-token-in-the/m-p/213349#M2523</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2023-05-27T14:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: scripting API queries without hardcoded access token in the script</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Scripting-API-queries-without-hardcoded-access-token-in-the/m-p/213847#M2528</link>
      <description>&lt;P&gt;I'd second&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;'s response. If it's an interactive application, prompting the user is probably the safest approach. Otherwise, environment variables are also often used in this context (of course, you'll still need to make sure those are secure as well) or reading the values from a (possibly encrypted) database or configuration file.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 13:36:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Scripting-API-queries-without-hardcoded-access-token-in-the/m-p/213847#M2528</guid>
      <dc:creator>alexander_dt</dc:creator>
      <dc:date>2023-06-01T13:36:28Z</dc:date>
    </item>
  </channel>
</rss>

