cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

scripting API queries without hardcoded access token in the script

jdport
Visitor

Hello,

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.     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.   

Thanks in advance for any thoughts on this.

-Jeff

 

1 REPLY 1

Hi,

Maybe you can use environment variables or asking token in prompt.

Best regards

Consultant